Class: Pliney::MachO::LC_RPATH_Reader
- Inherits:
-
CommonLCReader
- Object
- Reader
- CommonLCReader
- Pliney::MachO::LC_RPATH_Reader
- Defined in:
- lib/pliney/macho.rb
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
-
#rpath_data ⇒ Object
readonly
Returns the value of attribute rpath_data.
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
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
544 545 546 |
# File 'lib/pliney/macho.rb', line 544 def offset @offset end |
#rpath_data ⇒ Object (readonly)
Returns the value of attribute rpath_data.
544 545 546 |
# File 'lib/pliney/macho.rb', line 544 def rpath_data @rpath_data end |
Instance Method Details
#parse ⇒ Object
546 547 548 549 550 |
# File 'lib/pliney/macho.rb', line 546 def parse() super() @offset = @fh.read_uint32le @rpath_data = @fh.strictread(@cmdsize - @offset) end |
#rpath ⇒ Object
552 553 554 |
# File 'lib/pliney/macho.rb', line 552 def rpath() @rpath_data.unpack("Z*").first end |