Class: MachO::DylinkerCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::DylinkerCommand
- Defined in:
- lib/macho/load_commands.rb
Overview
A load command representing some aspect of the dynamic linker, depending on filetype. Corresponds to LC_ID_DYLINKER, LC_LOAD_DYLINKER, and LC_DYLD_ENVIRONMENT.
Instance Attribute Summary collapse
-
#name ⇒ Fixnum
readonly
The dynamic linker’s path name (lc_str).
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, name) ⇒ DylinkerCommand
constructor
A new instance of DylinkerCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, name) ⇒ DylinkerCommand
Returns a new instance of DylinkerCommand.
503 504 505 506 |
# File 'lib/macho/load_commands.rb', line 503 def initialize(offset, cmd, cmdsize, name) super(offset, cmd, cmdsize) @name = name end |
Instance Attribute Details
#name ⇒ Fixnum (readonly)
Returns the dynamic linker’s path name (lc_str).
497 498 499 |
# File 'lib/macho/load_commands.rb', line 497 def name @name end |