Class: MachO::LoadCommands::SegmentCommand64
- Inherits:
-
SegmentCommand
- Object
- MachOStructure
- LoadCommand
- SegmentCommand
- MachO::LoadCommands::SegmentCommand64
- Defined in:
- lib/macho/load_commands.rb
Overview
A load command indicating that part of this file is to be mapped into the task's address space. Corresponds to LC_SEGMENT_64.
Instance Method Summary collapse
-
#fileoff ⇒ Integer
The file offset of the segment.
-
#filesize ⇒ Integer
The amount to map from the file.
-
#vmaddr ⇒ Integer
The memory address of the segment.
-
#vmsize ⇒ Integer
The memory size of the segment.
Methods inherited from SegmentCommand
#flag?, #flags, #guess_align, #initprot, #maxprot, #nsects, #sections, #segname, #to_h
Methods inherited from LoadCommand
#cmd, #cmdsize, create, new_from_bin, #offset, #serializable?, #serialize, #to_h, #to_s, #type, #view
Methods inherited from MachOStructure
bytesize, format, #initialize, new_from_bin, #to_h
Constructor Details
This class inherits a constructor from MachO::MachOStructure
Instance Method Details
#fileoff ⇒ Integer
Returns the file offset of the segment.
529 |
# File 'lib/macho/load_commands.rb', line 529 field :fileoff, :uint64 |
#filesize ⇒ Integer
Returns the amount to map from the file.
532 |
# File 'lib/macho/load_commands.rb', line 532 field :filesize, :uint64 |
#vmaddr ⇒ Integer
Returns the memory address of the segment.
523 |
# File 'lib/macho/load_commands.rb', line 523 field :vmaddr, :uint64 |
#vmsize ⇒ Integer
Returns the memory size of the segment.
526 |
# File 'lib/macho/load_commands.rb', line 526 field :vmsize, :uint64 |