Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deptrace not work #72

Open
pavlinux opened this issue Jun 22, 2020 · 1 comment
Open

deptrace not work #72

pavlinux opened this issue Jun 22, 2020 · 1 comment

Comments

@pavlinux
Copy link

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
Copy link
Contributor

sudhackar commented Jun 27, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants