Class: MachO::LoadCommands::FvmfileCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LoadCommands::FvmfileCommand
- Defined in:
- lib/macho/load_commands.rb
Overview
An obsolete load command containing the path to a file to be loaded into memory. Corresponds to LC_FVMFILE.
Instance Method Summary collapse
-
#header_addr ⇒ Integer
The virtual address being loaded at.
-
#name ⇒ LCStr
The pathname of the file being loaded.
-
#to_h ⇒ Hash
A hash representation of this FvmfileCommand.
Methods inherited from LoadCommand
#cmd, #cmdsize, create, new_from_bin, #offset, #serializable?, #serialize, #to_s, #type, #view
Methods inherited from MachOStructure
bytesize, format, #initialize, new_from_bin
Constructor Details
This class inherits a constructor from MachO::MachOStructure
Instance Method Details
#header_addr ⇒ Integer
1411 |
# File 'lib/macho/load_commands.rb', line 1411 field :header_addr, :uint32 |
#name ⇒ LCStr
1408 |
# File 'lib/macho/load_commands.rb', line 1408 field :name, :lcstr, :to_s => true |
#to_h ⇒ Hash
1414 1415 1416 1417 1418 1419 |
# File 'lib/macho/load_commands.rb', line 1414 def to_h { "name" => name.to_h, "header_addr" => header_addr, }.merge super end |