Class: MachO::EntryPointCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::EntryPointCommand
- Defined in:
- lib/macho/load_commands.rb
Instance Attribute Summary collapse
-
#entryoff ⇒ Object
readonly
Returns the value of attribute entryoff.
-
#stacksize ⇒ Object
readonly
Returns the value of attribute stacksize.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, entryoff, stacksize) ⇒ EntryPointCommand
constructor
A new instance of EntryPointCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, entryoff, stacksize) ⇒ EntryPointCommand
Returns a new instance of EntryPointCommand.
570 571 572 573 574 |
# File 'lib/macho/load_commands.rb', line 570 def initialize(offset, cmd, cmdsize, entryoff, stacksize) super(offset, cmd, cmdsize) @entryoff = entryoff @stacksize = stacksize end |
Instance Attribute Details
#entryoff ⇒ Object (readonly)
Returns the value of attribute entryoff.
565 566 567 |
# File 'lib/macho/load_commands.rb', line 565 def entryoff @entryoff end |
#stacksize ⇒ Object (readonly)
Returns the value of attribute stacksize.
565 566 567 |
# File 'lib/macho/load_commands.rb', line 565 def stacksize @stacksize end |