facebook / fishhook

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

Make symbol table address computations to right place #67

Closed flexih closed 5 years ago

flexih commented 5 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.