preeny icon indicating copy to clipboard operation
preeny copied to clipboard

deptrace not work

Open pavlinux opened this issue 5 years ago • 1 comments
trafficstars

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

pavlinux avatar Jun 22 '20 10:06 pavlinux

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?

sudhackar avatar Jun 27 '20 14:06 sudhackar