User Tools

Site Tools


debug_sctp_nke_after_kernel_panic

Debug SCTP NKE after kernel panic

# Create symbol file

sudo kextutil -n -s . /System/Library/Extensions/SCTP.kext

# Check the panic log for the address of the NKE:

    Kernel Extensions in backtrace (with dependencies):
       org.sctp.kext.SCTP(6.1.1)@0x8536f000->0x85536fff

# In this case it's 0x8536f000 and enter it at the following prompt:

Enter the hexadecimal load addresses for these extensions
(press Return to skip symbol generation for an extension):

org.sctp.kext.SCTP:

# Download the kernel debug kit from # https://developer.apple.com/downloads/index.action # and mount it

# Run GDB

gdb /Volumes/KernelDebugKit/mach_kernel

# Load symbol file

add-symbol-file org.sctp.kext.SCTP.sym

# Show code at address:

list *<address>
debug_sctp_nke_after_kernel_panic.txt · Last modified: by admin