How to trace system calls on a Mac

From blinkenwiki

Revision as of 02:07, 13 June 2021 by Blinkenjim (talk | contribs) (Created page with "* Reboot into Recovery mode (hold ⌘-R) * Open a terminal and enter <pre> csrutil disable </pre> * Reboot To trace system calls in a process, type: <pre> sudo dtruss command...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

  • Reboot into Recovery mode (hold ⌘-R)
  • Open a terminal and enter
csrutil disable
  • Reboot

To trace system calls in a process, type:

sudo dtruss command

Using dtruss requires root privileges.