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.

Public Instance Methods

to_h() click to toggle source

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

Calls superclass method MachO::LoadCommands::LoadCommand#to_h
# File lib/macho/load_commands.rb, line 741
def to_h
  {
    "init_address" => init_address,
    "init_module" => init_module,
    "reserved1" => reserved1,
    "reserved2" => reserved2,
    "reserved3" => reserved3,
    "reserved4" => reserved4,
    "reserved5" => reserved5,
    "reserved6" => reserved6,
  }.merge super
end