Basic ARM64 patchfinder for XNU kernelcaches - supports all 64-bit kernelcaches except ARM64E (A12+).
More functionality including finding certain useful symbols on stripped kernelcaches, actual kernel patches (which can be incorparated into a jailbreak or exploit) will be added in the forseeable future.
- Clone the repository
git clone https://github.com/cxdxn1/kpf64- Compile the library
cd kpf64
cd libpf64
make- Compile the source
cd ..
make- Run the binary
./kpf64 <your-kernelcache-path-here>The patchfinder is made up of a library called libpf64 that contains all source code and everything needed for kernel patchfinding (MachO parsing, finding XREFs, strings, etc) and the actual source code just contains an example of how that library could be used in a KPF context.
Keep in mind the source code is still pretty limited as it just opens the kernelcache and fetches kernel information using libpf64 however more functionality will be added to this soon as previously mentioned.
This software is licensed under the MIT license, meaning you may redistribute, modify and use it as you please.