When a mach-o binary is stripped, the resulting identifier is different from
that of the non-stripped
binary.
The current calculation for the file ID of a Mac mach-o file blithely reads all
of the segment data to
calculate the identifier. I've attached a patch that takes more care, and
actually reads the section
data from segments that contain sections (__TEXT, __DATA, __IMPORT, __OBJC).
This information is
invariant between the stripped and non-stripped binaries.
Original issue reported on code.google.com by waylonis on 30 Jan 2007 at 11:30
Original issue reported on code.google.com by
waylonis
on 30 Jan 2007 at 11:30Attachments: