iOS kernel patch
data | ||
apply_patchfile.c | ||
check_sanity.c | ||
codesign_allocate.c | ||
dump.c | ||
extract_syms.c | ||
grapher.cpp | ||
lambda.h | ||
make_kernel_patchfile.c | ||
Makefile | ||
nm.c | ||
pf2c.py | ||
README | ||
sandbox.S | ||
unpack.c |
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 "-".