Class: Pliney::MachO::DylibStructReader
- Defined in:
- lib/pliney/macho.rb
Instance Attribute Summary collapse
-
#compatibility_version ⇒ Object
readonly
Returns the value of attribute compatibility_version.
-
#current_version ⇒ Object
readonly
Returns the value of attribute current_version.
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Attributes inherited from Reader
Instance Method Summary collapse
Methods inherited from Reader
Constructor Details
This class inherits a constructor from Pliney::MachO::Reader
Instance Attribute Details
#compatibility_version ⇒ Object (readonly)
Returns the value of attribute compatibility_version.
506 507 508 |
# File 'lib/pliney/macho.rb', line 506 def compatibility_version @compatibility_version end |
#current_version ⇒ Object (readonly)
Returns the value of attribute current_version.
506 507 508 |
# File 'lib/pliney/macho.rb', line 506 def current_version @current_version end |
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
506 507 508 |
# File 'lib/pliney/macho.rb', line 506 def offset @offset end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
506 507 508 |
# File 'lib/pliney/macho.rb', line 506 def @timestamp end |
Instance Method Details
#parse ⇒ Object
508 509 510 511 512 513 514 |
# File 'lib/pliney/macho.rb', line 508 def parse() super() @offset = @fh.read_uint32le @timestamp = @fh.read_uint32le @current_version = @fh.read_uint32le @compatibility_version = @fh.read_uint32le end |