Size: 879
Comment: ruby-rbtrace was accepted, update link
|
← Revision 9 as of 2022-11-13 07:09:19 ⇥
Size: 880
Comment: fix Python trace, thanks to LeLutin
|
Deletions are marked like this. | Additions are marked like this. |
Line 11: | Line 11: |
|| Python || [[https://docs.python.org/3/library/trace.html|Python trace module]] || `python -m trace --count /usr/bin/program args` || | || Python || [[https://docs.python.org/3/library/trace.html|Python trace module]] || `python3 -m trace --trace /usr/bin/program args` || |
There are various ways to trace execution of programs written in various languages:
Tracing type |
Tool |
Command-line |
ELF (syscalls) |
strace program args |
|
ELF (functions) |
ltrace program args |
|
ELF (functions) |
latrace program args |
|
getenv(3) calls |
export LD_PRELOAD="libgetenvy.so" ; GETENVY=1 program args |
|
Shell |
all shells |
sh -x /usr/bin/program args |
Perl |
perl -d:Trace /usr/bin/program args |
|
Ruby |
rbtrace --exec /usr/bin/program args |
|
Python |
python3 -m trace --trace /usr/bin/program args |