MachOView icon indicating copy to clipboard operation
MachOView copied to clipboard

Support new __DATA_CONST segment in iOS 9 binaries

Open eswick opened this issue 10 years ago • 0 comments

iOS 9 adds a segment called __DATA_CONST, presumably for security. The following Objective-C Mach-O sections are located in __DATA_CONST instead of __DATA:

__objc_const __objc_imageinfo __objc_protolist __objc_catlist __objc_classlist

In my commit, I check to see if the sections are located in the __DATA segment. If not, I get them from __DATA_CONST instead.

eswick avatar Nov 10 '15 15:11 eswick