Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

old stuff

latest commit 26c40f9a4c
comex authored September 30, 2012
Octocat-spinner-32 Makefile old stuff September 30, 2012
Octocat-spinner-32 README update readme and remove lunchd May 23, 2011
Octocat-spinner-32 apply_patchfile.c stuff February 18, 2012
Octocat-spinner-32 check_sanity.c update and add nm June 04, 2011
Octocat-spinner-32 codesign_allocate.c fixes July 12, 2011
Octocat-spinner-32 dump.c fix July 20, 2012
Octocat-spinner-32 extract_syms.c add extract_syms; rename decrypt_kern to unpack and improve it August 08, 2011
Octocat-spinner-32 grapher.cpp old stuff September 30, 2012
Octocat-spinner-32 lambda.h standards compliance February 18, 2012
Octocat-spinner-32 make_kernel_patchfile.c old stuff September 30, 2012
Octocat-spinner-32 nm.c stuff February 18, 2012
Octocat-spinner-32 pf2c.py add a readme March 29, 2011
Octocat-spinner-32 sandbox.S less fail January 12, 2012
Octocat-spinner-32 unpack.c fix nm, update make_kernel_patchfile September 01, 2011
README
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 "-".
Something went wrong with that request. Please try again.