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

ptrace: Allow tracing programs started with system() or fork+exec #149

Open
SimonKagstrom opened this issue Aug 10, 2016 · 1 comment
Open

Comments

@SimonKagstrom
Copy link
Owner

Useful e.g., where a wrapper is used to start programs (but the wrapper itself is uninteresting).

Could perhaps be implemented through using LD_PRELOAD and overriding exec().

@SimonKagstrom
Copy link
Owner Author

Not as easy as I first thought: Overriding exec in LD_PRELOAD means recursive ptrace, so that won't work.

Can probably be made to work by starting the process from kcov itself instead, but that's a major change.

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

No branches or pull requests

1 participant