Name | Date | Size | ||
---|---|---|---|---|
.. | 24-Oct-2014 | 18 | ||
BSDKernel.exports | H A D | 23-Feb-2014 | 12.7 KiB | |
BSDKernel.x86_64.exports | H A D | 10-Apr-2008 | 225 | |
generate_linker_exports.sh | H A D | 04-Nov-2009 | 228 | |
IOKit.exports | H A D | 28-May-2014 | 61.3 KiB | |
IOKit.x86_64.exports | H A D | 20-Jul-2014 | 24.1 KiB | |
Libkern.exports | H A D | 17-Oct-2013 | 19.9 KiB | |
Libkern.x86_64.exports | H A D | 20-Sep-2011 | 5 KiB | |
list_supported.sh | H A D | 31-Oct-2012 | 2.1 KiB | |
MACFramework.exports | H A D | 17-Oct-2013 | 390 | |
MACFramework.x86_64.exports | H A D | 17-Oct-2013 | 150 | |
Mach.exports | H A D | 24-Mar-2014 | 1.2 KiB | |
Mach.x86_64.exports | H A D | 19-Jun-2008 | 25 | |
Makefile | H A D | 20-Mar-2014 | 5.6 KiB | |
MASTER | H A D | 24-Oct-2014 | 24.6 KiB | |
MASTER.x86_64 | H A D | 19-Jun-2014 | 3.7 KiB | |
MasterVersion | H A D | 16-May-2013 | 962 | |
newvers.pl | H A D | 24-Apr-2014 | 6.6 KiB | |
Private.exports | H A D | 26-Aug-2014 | 6.6 KiB | |
Private.x86_64.exports | H A D | 02-Jul-2014 | 1,009 | |
README.DEBUG-kernel.txt | H A D | 22-May-2008 | 1.3 KiB | |
System.kext/ | H | 18-Sep-2014 | 4 | |
Unsupported.exports | H A D | 07-Feb-2014 | 4.2 KiB | |
Unsupported.x86_64.exports | H A D | 18-Apr-2013 | 1.2 KiB | |
Unused.exports | H A D | 06-May-2014 | 179 | |
version.c | H A D | 01-Sep-2010 | 2.2 KiB |
README.DEBUG-kernel.txt
1This directory contains a universal DEBUG kernel, built for 32-bit and 264-bit Intel. It includes a dSYM bundle for remote kernel debugging 3and live kernel debugging. 4 5INSTALLATION 6 7!!!WARNING!!! These steps will overwrite the default kernel and 8System.kext. Backup all files before attempting these steps. 9 10To install the DEBUG kernel, do: 11bash-3.2$ sudo -s 12bash-3.2# cd / 13bash-3.2# ditto /AppleInternal/Developer/Extras/Kernel\ Debugging/System.kext /System/Library/Extensions/System.kext 14bash-3.2# cp -r /AppleInternal/Developer/Extras/Kernel\ Debugging/mach_kernel* / 15bash-3.2# chown -R root:wheel /System/Library/Extensions/System.kext /mach_kernel* 16bash-3.2# chmod -R g-w /System/Library/Extensions/System.kext /mach_kernel* 17bash-3.2# touch /System/Library/Extensions 18bash-3.2# shutdown -r now 19 20REMOTE KERNEL DEBUGGING 21 22See the documentation that accompanies the Kernel Debug Kit 23 24LIVE KERNEL DEBUGGING 25 26With the DEBUG kernel installed, set "kmem=1" in your "boot-args" 27NVRAM variable, reboot, and do: 28 29bash-3.2$ sudo gdb -a <arch> --quiet /mach_kernel 30(gdb) target darwin-kernel 31(gdb) source /AppleInternal/Developer/Extras/Kernel\ Debugging/kgmacros 32Loading Kernel GDB Macros package. Type "help kgm" for more info. 33(gdb) attach 34Connected. 35 36<arch> should reflect the currently booted kernel architecture, either 37"i386" or "x86_64" 38 39 40