Skip to content
No description or website provided.
C++ C Assembly Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Makefile old stuff Sep 30, 2012
README update readme and remove lunchd May 23, 2011
apply_patchfile.c stuff Feb 18, 2012
check_sanity.c update and add nm Jun 4, 2011
codesign_allocate.c fixes Jul 12, 2011
dump.c fix Jul 20, 2012
extract_syms.c add extract_syms; rename decrypt_kern to unpack and improve it Aug 8, 2011
grapher.cpp old stuff Sep 30, 2012
make_kernel_patchfile.c old stuff Sep 30, 2012
sandbox.S less fail Jan 12, 2012
unpack.c fix nm, update make_kernel_patchfile Sep 1, 2011


git clone
cd datautils0
git clone
make BUILD=native
native/make_kernel_patchfile /path/to/kernelcache /tmp/patchfile
native/apply_patchfile /path/to/kernelcache /tmp/patchfile /output/patched/kernelcache

Patchfile format:

field        length
namelen      4
name         namelen
addr         4
datalen      4
data         datalen

- If the address is 0, skip.

- If you're patching the kernel after it has already booted, you can (but need not) skip patches with names starting with "-".
Something went wrong with that request. Please try again.