Skip to content

Instantly share code, notes, and snippets.

View brandonsaldan's full-sized avatar
🚀

Brandon Saldan brandonsaldan

🚀
View GitHub Profile
@Cryptiiiic
Cryptiiiic / offsets_multipath_kfree.md
Last active March 1, 2023 05:45
How to find offsets for Multipath_KFree
  1. Open Terminal and run nm kernelcache.dec | grep _kernproc In this example, 0xfffffff0075d50a0 is our kernproc address.(iPhone6S on 11.3.1)
  2. Drag your kernelcache.dec into ida and stringsearch for fStampMapping[kAGXHostMemoryTimestamp] This should take you to com.apple.AGXG5P:__cstring section.
  3. Double click on the first text:FFFFFFF...
  4. Scroll down all the way until you see something like this.
  5. Double click on unk_FFFFFFF... which is located at the second ADRP.