facebook / fishhook

A library that enables dynamically rebinding symbols in Mach-O binaries running on iOS.
BSD 3-Clause "New" or "Revised" License
5.17k stars 965 forks source link

Make symbol table address computations to right place #68

Closed flexih closed 1 year ago

flexih commented 4 years ago

symtab_cmd.symoff is relative to linkedit_segment.fileoff, so the computation should reflect the relationship, it's more instinctive and easy to understand.