Class: MachO::RoutinesCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::RoutinesCommand
- 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.
Instance Attribute Summary collapse
-
#init_address ⇒ Object
readonly
Returns the value of attribute init_address.
-
#init_module ⇒ Object
readonly
Returns the value of attribute init_module.
-
#reserved1 ⇒ Object
readonly
Returns the value of attribute reserved1.
-
#reserved2 ⇒ Object
readonly
Returns the value of attribute reserved2.
-
#reserved3 ⇒ Object
readonly
Returns the value of attribute reserved3.
-
#reserved4 ⇒ Object
readonly
Returns the value of attribute reserved4.
-
#reserved5 ⇒ Object
readonly
Returns the value of attribute reserved5.
-
#reserved6 ⇒ Object
readonly
Returns the value of attribute reserved6.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, init_address, init_module, reserved1, reserved2, reserved3, reserved4, reserved5, reserved6) ⇒ RoutinesCommand
constructor
A new instance of RoutinesCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, init_address, init_module, reserved1, reserved2, reserved3, reserved4, reserved5, reserved6) ⇒ RoutinesCommand
Returns a new instance of RoutinesCommand.
473 474 475 476 477 478 479 480 481 482 483 484 485 |
# File 'lib/macho/load_commands.rb', line 473 def initialize(offset, cmd, cmdsize, init_address, init_module, reserved1, reserved2, reserved3, reserved4, reserved5, reserved6) super(offset, cmd, cmdsize) @init_address = init_address @init_module = init_module @reserved1 = reserved1 @reserved2 = reserved2 @reserved3 = reserved3 @reserved4 = reserved4 @reserved5 = reserved5 @reserved6 = reserved6 end |
Instance Attribute Details
#init_address ⇒ Object (readonly)
Returns the value of attribute init_address.
466 467 468 |
# File 'lib/macho/load_commands.rb', line 466 def init_address @init_address end |
#init_module ⇒ Object (readonly)
Returns the value of attribute init_module.
466 467 468 |
# File 'lib/macho/load_commands.rb', line 466 def init_module @init_module end |
#reserved1 ⇒ Object (readonly)
Returns the value of attribute reserved1.
466 467 468 |
# File 'lib/macho/load_commands.rb', line 466 def reserved1 @reserved1 end |
#reserved2 ⇒ Object (readonly)
Returns the value of attribute reserved2.
466 467 468 |
# File 'lib/macho/load_commands.rb', line 466 def reserved2 @reserved2 end |
#reserved3 ⇒ Object (readonly)
Returns the value of attribute reserved3.
467 468 469 |
# File 'lib/macho/load_commands.rb', line 467 def reserved3 @reserved3 end |
#reserved4 ⇒ Object (readonly)
Returns the value of attribute reserved4.
467 468 469 |
# File 'lib/macho/load_commands.rb', line 467 def reserved4 @reserved4 end |
#reserved5 ⇒ Object (readonly)
Returns the value of attribute reserved5.
467 468 469 |
# File 'lib/macho/load_commands.rb', line 467 def reserved5 @reserved5 end |
#reserved6 ⇒ Object (readonly)
Returns the value of attribute reserved6.
467 468 469 |
# File 'lib/macho/load_commands.rb', line 467 def reserved6 @reserved6 end |