class MachO::LoadCommands::DyldInfoCommand

A load command containing the file offsets and sizes of the new compressed form of the information dyld needs to load the image. Corresponds to LC_DYLD_INFO and LC_DYLD_INFO_ONLY.

Constants

FORMAT

@see MachOStructure::FORMAT @api private

SIZEOF

@see MachOStructure::SIZEOF @api private

Attributes

bind_off[R]

@return [Fixnum] the file offset to the binding information

bind_size[R]

@return [Fixnum] the size of the binding information

export_off[R]

@return [Fixnum] the file offset to the export information

export_size[R]

@return [Fixnum] the size of the export information

lazy_bind_off[R]

@return [Fixnum] the file offset to the lazy binding information

lazy_bind_size[R]

@return [Fixnum] the size of the lazy binding information

rebase_off[R]

@return [Fixnum] the file offset to the rebase information

rebase_size[R]

@return [Fixnum] the size of the rebase information

weak_bind_off[R]

@return [Fixnum] the file offset to the weak binding information

weak_bind_size[R]

@return [Fixnum] the size of the weak binding information

Public Class Methods

new(view, cmd, cmdsize, rebase_off, rebase_size, bind_off, bind_size, weak_bind_off, weak_bind_size, lazy_bind_off, lazy_bind_size, export_off, export_size) click to toggle source

@api private

Calls superclass method MachO::LoadCommands::LoadCommand.new
# File lib/macho/load_commands.rb, line 1165
def initialize(view, cmd, cmdsize, rebase_off, rebase_size, bind_off,
               bind_size, weak_bind_off, weak_bind_size, lazy_bind_off,
               lazy_bind_size, export_off, export_size)
  super(view, cmd, cmdsize)
  @rebase_off = rebase_off
  @rebase_size = rebase_size
  @bind_off = bind_off
  @bind_size = bind_size
  @weak_bind_off = weak_bind_off
  @weak_bind_size = weak_bind_size
  @lazy_bind_off = lazy_bind_off
  @lazy_bind_size = lazy_bind_size
  @export_off = export_off
  @export_size = export_size
end