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, and LC_LINKER_OPTIMIZATION_HINT.

Constants

FORMAT

@see MachOStructure::FORMAT @api private

SIZEOF

@see MachOStructure::SIZEOF @api private

Attributes

dataoff[R]

@return [Fixnum] offset to the data in the __LINKEDIT segment

datasize[R]

@return [Fixnum] size of the data in the __LINKEDIT segment

Public Class Methods

new(view, cmd, cmdsize, dataoff, datasize) click to toggle source

@api private

Calls superclass method MachO::LoadCommands::LoadCommand::new
# File lib/macho/load_commands.rb, line 1005
def initialize(view, cmd, cmdsize, dataoff, datasize)
  super(view, cmd, cmdsize)
  @dataoff = dataoff
  @datasize = datasize
end