class MachO::LoadCommands::RoutinesCommand

A load command containing the address of the dynamic shared library initialization routine and an index into the module table for the module that defines the routine. Corresponds to LC_ROUTINES.

Constants

FORMAT

@see MachOStructure::FORMAT @api private

SIZEOF

@see MachOStructure::SIZEOF @api private

Attributes

init_address[R]

@return [Fixnum] the address of the initialization routine

init_module[R]

@return [Fixnum] the index into the module table that the init routine

is defined in
reserved1[R]

@return [void]

reserved2[R]

@return [void]

reserved3[R]

@return [void]

reserved4[R]

@return [void]

reserved5[R]

@return [void]

reserved6[R]

@return [void]

Public Class Methods

new(view, cmd, cmdsize, init_address, init_module, reserved1, reserved2, reserved3, reserved4, reserved5, reserved6) click to toggle source

@api private

Calls superclass method MachO::LoadCommands::LoadCommand.new
# File lib/macho/load_commands.rb, line 628
def initialize(view, cmd, cmdsize, init_address, init_module, reserved1,
               reserved2, reserved3, reserved4, reserved5, reserved6)
  super(view, cmd, cmdsize)
  @init_address = init_address
  @init_module = init_module
  @reserved1 = reserved1
  @reserved2 = reserved2
  @reserved3 = reserved3
  @reserved4 = reserved4
  @reserved5 = reserved5
  @reserved6 = reserved6
end