class MachO::LoadCommands::LinkeditDataCommand

A load command representing the offsets and sizes of a blob of data in the __LINKEDIT segment. Corresponds to LC_CODE_SIGNATURE, 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, or LC_ATOM_INFO.

Public Instance Methods

to_h() click to toggle source

@return [Hash] a hash representation of this {LinkeditDataCommand}

Calls superclass method MachO::LoadCommands::LoadCommand#to_h
# File lib/macho/load_commands.rb, line 1069
def to_h
  {
    "dataoff" => dataoff,
    "datasize" => datasize,
  }.merge super
end