@@ -62,6 +62,8 @@ module LoadCommands
6262 0x30 => :LC_VERSION_MIN_WATCHOS ,
6363 0x31 => :LC_NOTE ,
6464 0x32 => :LC_BUILD_VERSION ,
65+ ( 0x33 | LC_REQ_DYLD ) => :LC_DYLD_EXPORTS_TRIE ,
66+ ( 0x34 | LC_REQ_DYLD ) => :LD_DYLD_CHAINED_FIXUPS ,
6567 } . freeze
6668
6769 # association of symbol representations to load command constants
@@ -147,6 +149,8 @@ module LoadCommands
147149 :LC_VERSION_MIN_WATCHOS => "VersionMinCommand" ,
148150 :LC_NOTE => "NoteCommand" ,
149151 :LC_BUILD_VERSION => "BuildVersionCommand" ,
152+ :LC_DYLD_EXPORTS_TRIE => "LinkeditDataCommand" ,
153+ :LD_DYLD_CHAINED_FIXUPS => "LinkeditDataCommand" ,
150154 } . freeze
151155
152156 # association of segment name symbols to names
@@ -1193,7 +1197,8 @@ def to_h
11931197 # A load command representing the offsets and sizes of a blob of data in
11941198 # the __LINKEDIT segment. Corresponds to LC_CODE_SIGNATURE,
11951199 # LC_SEGMENT_SPLIT_INFO, LC_FUNCTION_STARTS, LC_DATA_IN_CODE,
1196- # LC_DYLIB_CODE_SIGN_DRS, and LC_LINKER_OPTIMIZATION_HINT.
1200+ # LC_DYLIB_CODE_SIGN_DRS, LC_LINKER_OPTIMIZATION_HINT, LC_DYLD_EXPORTS_TRIE,
1201+ # or LC_DYLD_CHAINED_FIXUPS.
11971202 class LinkeditDataCommand < LoadCommand
11981203 # @return [Integer] offset to the data in the __LINKEDIT segment
11991204 attr_reader :dataoff
0 commit comments