eiselekd / shinter

Trace execv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shinter

Trace execv and execve via LD_PRELOAD

  • uses embedded static perl and executes shpreload.pm::execve_() on execve calls
  • $LD_PRELOAD=shpreload64.so bash -c 'ls'
  • read execve trace /tmp/report.txt: saving cwd, enviroment variables and execve args
  • (can be adopter to overload other symbols)

Build:

$ make all

About

Trace execv


Languages

Language:C 58.3%Language:Perl 26.2%Language:Makefile 15.5%