Class: MachO::LoadCommands::RoutinesCommand64

Inherits:
RoutinesCommand show all
Defined in:
lib/macho/load_commands.rb

Overview

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_64.

Instance Method Summary collapse

Methods inherited from RoutinesCommand

#to_h

Methods inherited from LoadCommand

#cmd, #cmdsize, create, new_from_bin, #offset, #serializable?, #serialize, #to_h, #to_s, #type, #view

Methods inherited from MachOStructure

bytesize, format, #initialize, new_from_bin, #to_h

Constructor Details

This class inherits a constructor from MachO::MachOStructure

Instance Method Details

#init_addressInteger

Returns the address of the initialization routine.

Returns:

  • (Integer)

    the address of the initialization routine



661
# File 'lib/macho/load_commands.rb', line 661

field :init_address, :uint64

#init_moduleInteger

Returns the index into the module table that the init routine is defined in.

Returns:

  • (Integer)

    the index into the module table that the init routine is defined in



665
# File 'lib/macho/load_commands.rb', line 665

field :init_module, :uint64

#reserved1void

This method returns an undefined value.



668
# File 'lib/macho/load_commands.rb', line 668

field :reserved1, :uint64

#reserved2void

This method returns an undefined value.



671
# File 'lib/macho/load_commands.rb', line 671

field :reserved2, :uint64

#reserved3void

This method returns an undefined value.



674
# File 'lib/macho/load_commands.rb', line 674

field :reserved3, :uint64

#reserved4void

This method returns an undefined value.



677
# File 'lib/macho/load_commands.rb', line 677

field :reserved4, :uint64

#reserved5void

This method returns an undefined value.



680
# File 'lib/macho/load_commands.rb', line 680

field :reserved5, :uint64

#reserved6void

This method returns an undefined value.



683
# File 'lib/macho/load_commands.rb', line 683

field :reserved6, :uint64