iOS kernel patch
Go to file
2011-05-23 14:19:18 -04:00
apply_patchfile.c add a little tool 2011-04-18 14:46:12 -04:00
check_sanity.c have a makefile 2011-03-28 23:09:38 -04:00
dump_range.c add a little tool 2011-04-18 14:46:12 -04:00
lambda.h fixes; update data; get rid of placeholder functionality; add lambda.h; make make_kernel_patchfile use b_relocate instead, whee 2011-03-16 23:45:29 -04:00
make_kernel_patchfile.c update readme and remove lunchd 2011-05-23 14:19:18 -04:00
Makefile update 2011-05-14 19:56:44 -04: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 fix 2011-04-04 21:09:10 -04: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 "-".