Skip to content

Instantly share code, notes, and snippets.

View johnzaro's full-sized avatar

John Zarogiannis johnzaro

  • Athens, Greece
View GitHub Profile
@johnzaro
johnzaro / iOS14DirectMethodsGuide.txt
Last active November 26, 2023 13:15
Guide to using libundirect and finding direct methods on iOS 14
(I used hopper disassembler)
1) Open the Safari binary from iOS 13.7 [binary 1] and also open a Safari binary from iOS 14+ [binary 2] which has the selector you are interested in converted to direct method.
2) Search in the processes tab of the [binary 1] for the selector you are interested in.
3) Open it and have a look at the code inside it by using the 'pseudo-code mode'.
4) We now arrive to the 1st way to find a direct method: