3 ms·
Sadly running dtruss on (modern) macOS requires disabling system integrity protection.
by lsllc 5y ago
Sadly running dtruss on (modern) macOS requires disabling system integrity protection.
- MrWiffles 5y agoI don't remember the option off-hand, but there's a way to leave SIP enabled, but still allow dtruss too on modern MacOS. You'd have to Google it up, but that option does exist (I just can't remember the name off hand). Saw it about ~4 weeks ago while doing some research.
- beaugunderson 5y agoLooks like you're referring to this, from June: https://poweruser.blog/using-dtrace-with-sip-enabled-3826a352e64b https://poweruser.blog/using-dtrace-with-sip-enabled-3826a35... Sadly it's a little more involved (a chroot which removes all codesigning bits) than a simple option, but I'm glad to have found a way to do it all.