iOS kernel patch
Go to file
2012-07-20 19:23:50 -07:00
apply_patchfile.c stuff 2012-02-18 13:26:06 -05:00
check_sanity.c update and add nm 2011-06-04 18:17:21 -04:00
codesign_allocate.c fixes 2011-07-12 18:13:35 -04:00
dump.c fix 2012-07-20 19:23:50 -07:00
extract_syms.c add extract_syms; rename decrypt_kern to unpack and improve it 2011-08-08 23:48:52 -04:00
grapher.cpp I do not remember when I made this change 2011-12-08 21:15:34 -08:00
lambda.h standards compliance 2012-02-18 13:26:04 -05:00
make_kernel_patchfile.c lambda re-life 2012-01-19 11:11:22 -05:00
Makefile stuff 2012-02-18 13:26:06 -05:00
nm.c stuff 2012-02-18 13:26:06 -05:00
pf2c.py add a readme 2011-03-29 00:04:51 -04:00
README update readme and remove lunchd 2011-05-23 14:19:18 -04:00
sandbox.S less fail 2012-01-12 02:12:29 -05:00
unpack.c fix nm, update make_kernel_patchfile 2011-09-01 17:36:29 -07:00

git clone git@github.com:comex/datautils0.git
cd datautils0
git clone git@github.com:comex/data.git
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 "-".