Re:Strace – My Favourite Secret Weapon (2011)
by snissn on Sunday February 11, 2018 @05:56PM
(#16355322)
Is there a substitute for mac/osx?
[ Parent
| on HN ]
Re:Strace – My Favourite Secret Weapon (2011)
by dmix on Sunday February 11, 2018 @10:33PM
(#16356332)
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.
Re:Strace – My Favourite Secret Weapon (2011)
by zbentley on Sunday February 11, 2018 @06:15PM
(#16355385)
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.