deptrace not work
pavlinux opened this issue · 1 comments
pavlinux commented
export LD_PRELOAD=$PWD/deptrace.so;
strace -e open /bin/ls
^C
-- Another console
strace -p 7572
strace: Process 7572 attached
--- stopped by SIGSTOP ---
^C strace: Process 7572 detached
strace -ff -p 7570
strace: Process 7570 attached
wait4(7572,
^C
sudhackar commented
The purpose of deptrace is to disable the ptrace calls from the binary itself by returning 0. It can't stop an external program to debug the current program, I believe that's what confused you?