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

Add macOS support #1

Open
luser opened this issue Jun 22, 2017 · 0 comments
Open

Add macOS support #1

luser opened this issue Jun 22, 2017 · 0 comments

Comments

@luser
Copy link
Owner

luser commented Jun 22, 2017

It would be great to have macOS support. ptrace doesn't have the same options there, but I finally found the necessary APIs that should enable this.

Specifically, calling dispatch_source_create with DISPATCH_SOURCE_TYPE_PROC will provide events on fork/exec/exit, which should be sufficient for this tool's needs. Apple has some sample code, and there's also the LLDB source to look at, where I originally stumbled upon this.

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

1 participant