Hacker News new | past | comments | ask | show | jobs | submit login

Is there a substitute for mac/osx?



Note on new MacOS builds you will likely have to boot into recovery and run:

    csrutil enable --without dtrace
Otherwise you'll get a permissions error due to recent MacOS code signing protection... unless you copy the program you want to analyze to /tmp as a work around.


Dtruss: https://opensourcehacker.com/2011/12/02/osx-strace-equivalen...

Also, on OSX you have access to (mostly) the full power of dtrace, so you can do diagnostics on closed-source, debug-stripped running programs that make strace look small by comparison.


Just tried it on iTunes and it doesn't seem to work at all.

I already allowed myself to debug my own system by disabling "System Integrity" in recovery mode.


A quick Google for `PT_DENY_ATTACH` and dtrace should solve that




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: