Class: Indis::MachO::DylibCommand
- Inherits:
-
Command
- Object
- Command
- Indis::MachO::DylibCommand
- Defined in:
- lib/indis-macho/command.rb
Overview
LC_ID_DYLIB
Constant Summary
Constant Summary
Constants inherited from Command
Command::CMD, Command::CMD_CLASS, Command::LC_REQ_DYLD
Instance Attribute Summary (collapse)
-
- (Object) name
readonly
Returns the value of attribute name.
Attributes inherited from Command
Instance Method Summary (collapse)
Methods inherited from Command
Constructor Details
This class inherits a constructor from Indis::MachO::Command
Instance Attribute Details
- (Object) name (readonly)
Returns the value of attribute name
351 352 353 |
# File 'lib/indis-macho/command.rb', line 351 def name @name end |
Instance Method Details
- (Object) process(payload)
353 354 355 356 357 358 |
# File 'lib/indis-macho/command.rb', line 353 def process(payload) super(payload) name_sz = @length - @name_offset - 4*3 + 8 + 4 @name = payload.read(name_sz).strip end |