Mac file ID calculation differs between stripped and non-stripped binaries
Closed this issue · 1 comments
GoogleCodeExporter commented
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
Attachments:
GoogleCodeExporter commented
Submitted as revision 115.
Original comment by waylonis
on 31 Jan 2007 at 7:32
- Changed state: Fixed