Comment

Comment by lalitmaganti

There's an open bug for adding macOS support to buildprof: https://github.com/LalitMaganti/buildprof/issues/2

If you mean "how would I implement it without ptrace", there are a few options but likely the Endpoint Security API [1] would be the way to go. But it's not too great because it needs full disk access and root, neither of which I would be particularly happy accepting :(

[1] https://developer.apple.com/documentation/endpointsecurity

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton