Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/macho/load_commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ module LoadCommands
0x37 => :LC_FUNCTION_VARIANTS,
0x38 => :LC_FUNCTION_VARIANT_FIXUPS,
0x39 => :LC_TARGET_TRIPLE,
0x3a => :LC_LAZY_LOAD_DYLIB_INFO,
}.freeze

# association of symbol representations to load command constants
Expand Down Expand Up @@ -161,6 +162,7 @@ module LoadCommands
:LC_FUNCTION_VARIANTS => "LinkeditDataCommand",
:LC_FUNCTION_VARIANT_FIXUPS => "LinkeditDataCommand",
:LC_TARGET_TRIPLE => "TargetTripleCommand",
:LC_LAZY_LOAD_DYLIB_INFO => "LinkeditDataCommand",
}.freeze

# association of segment name symbols to names
Expand Down Expand Up @@ -1078,7 +1080,7 @@ def to_h
# LC_SEGMENT_SPLIT_INFO, LC_FUNCTION_STARTS, LC_DATA_IN_CODE,
# LC_DYLIB_CODE_SIGN_DRS, LC_LINKER_OPTIMIZATION_HINT, LC_DYLD_EXPORTS_TRIE,
# LC_DYLD_CHAINED_FIXUPS, LC_ATOM_INFO, LC_FUNCTION_VARIANTS,
# or LC_FUNCTION_VARIANT_FIXUPS.
# LC_FUNCTION_VARIANT_FIXUPS, or LC_LAZY_LOAD_DYLIB_INFO.
class LinkeditDataCommand < LoadCommand
# @return [Integer] offset to the data in the __LINKEDIT segment
field :dataoff, :uint32
Expand Down
Loading