Class: Pliney::MachO::CommonLinkeditDataCommandReader
- Inherits:
-
CommonLCReader
- Object
- Reader
- CommonLCReader
- Pliney::MachO::CommonLinkeditDataCommandReader
- Defined in:
- lib/pliney/macho.rb
Direct Known Subclasses
LC_CODE_SIGNATURE_Reader, LC_DATA_IN_CODE_Reader, LC_DYLIB_CODE_SIGN_DRS_Reader, LC_FUNCTION_STARTS_Reader, LC_LINKER_OPTIMIZATION_HINT_Reader, LC_SEGMENT_SPLIT_INFO_Reader
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 CommonLCReader
Attributes inherited from Reader
Instance Method Summary collapse
Methods inherited from CommonLCReader
Methods inherited from Reader
Constructor Details
This class inherits a constructor from Pliney::MachO::Reader
Instance Attribute Details
#dataoff ⇒ Object (readonly)
Returns the value of attribute dataoff.
455 456 457 |
# File 'lib/pliney/macho.rb', line 455 def dataoff @dataoff end |
#datasize ⇒ Object (readonly)
Returns the value of attribute datasize.
455 456 457 |
# File 'lib/pliney/macho.rb', line 455 def datasize @datasize end |
Instance Method Details
#parse ⇒ Object
457 458 459 460 461 |
# File 'lib/pliney/macho.rb', line 457 def parse() super() @dataoff = @fh.read_uint32le @datasize = @fh.read_uint32le end |