Created
May 14, 2020 07:22
-
-
Save steipete/92f66ec9387e8e4c7c17ffebb0824a8e to your computer and use it in GitHub Desktop.
deciphering kernel debug=0x104c44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Need to run with csrutil disable or recovery | |
sudo nvram boot-args="debug=0x104c44” | |
0x104c44 = 1 0000 0100 1100 0100 0100 | |
DB_NMI 0x4 // changes the power-button to create a non-maskable interrupt? | |
DB_ARP 0x40 // allows debugging across subnets via ARP? | |
DB_KERN_DUMP_ON_PANIC 0x400 // Trigger core dump on panic | |
DB_KERN_DUMP_ON_NMI 0x800 // Trigger core dump on NMI | |
DB_REBOOT_POST_CORE 0x4000 // Attempt to reboot after post-panic crashdump/paniclog dump | |
DB_REBOOT_ALWAYS 0x100000 // Don't wait for debugger connection | |
Control: 0x100000 + 0x4000 + 0x800 + 0x400 + 0x40 + 0x4 = 0x104c44 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment