2 ms·
There's an open bug for adding macOS support to buildprof: https://github.com/LalitMaganti/buildprof/issues/2 https://github.com/LalitMaganti/buildprof/issues/2
by lalitmaganti 23d ago
There's an open bug for adding macOS support to buildprof: https://github.com/LalitMaganti/buildprof/issues/2 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 https://developer.apple.com/documentation/endpointsecurity