Class: MachO::LinkeditDataCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LinkeditDataCommand
- Defined in:
- lib/macho/load_commands.rb
Instance Attribute Summary collapse
-
#dataoff ⇒ Object
readonly
Returns the value of attribute dataoff.
-
#datasize ⇒ Object
readonly
Returns the value of attribute datasize.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, dataoff, datasize) ⇒ LinkeditDataCommand
constructor
A new instance of LinkeditDataCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, dataoff, datasize) ⇒ LinkeditDataCommand
Returns a new instance of LinkeditDataCommand.
478 479 480 481 482 |
# File 'lib/macho/load_commands.rb', line 478 def initialize(offset, cmd, cmdsize, dataoff, datasize) super(offset, cmd, cmdsize) @dataoff = dataoff @datasize = datasize end |
Instance Attribute Details
#dataoff ⇒ Object (readonly)
Returns the value of attribute dataoff.
473 474 475 |
# File 'lib/macho/load_commands.rb', line 473 def dataoff @dataoff end |
#datasize ⇒ Object (readonly)
Returns the value of attribute datasize.
473 474 475 |
# File 'lib/macho/load_commands.rb', line 473 def datasize @datasize end |