Class: MachO::Sections::Section64
- Inherits:
-
Section
- Object
- MachOStructure
- Section
- MachO::Sections::Section64
- Defined in:
- lib/macho/sections.rb
Overview
Represents a section of a segment for 64-bit architectures.
Instance Method Summary collapse
-
#addr ⇒ Integer
The memory address of the section.
-
#reserved3 ⇒ void
Reserved.
-
#size ⇒ Integer
The size, in bytes, of the section.
-
#to_h ⇒ Hash
A hash representation of this Section64.
Methods inherited from Section
#align, #attribute?, #attributes, #empty?, #flag?, #flags, #nreloc, #offset, #reloff, #reserved1, #reserved2, #section_name, #sectname, #segment_name, #segname, #type, #type?
Methods inherited from MachOStructure
bytesize, format, #initialize, new_from_bin
Constructor Details
This class inherits a constructor from MachO::MachOStructure
Instance Method Details
#addr ⇒ Integer
Returns the memory address of the section.
200 |
# File 'lib/macho/sections.rb', line 200 field :addr, :uint64 |
#reserved3 ⇒ void
This method returns an undefined value.
Returns reserved.
206 |
# File 'lib/macho/sections.rb', line 206 field :reserved3, :uint32 |
#size ⇒ Integer
Returns the size, in bytes, of the section.
203 |
# File 'lib/macho/sections.rb', line 203 field :size, :uint64 |
#to_h ⇒ Hash
Returns a hash representation of this MachO::Sections::Section64.
209 210 211 212 213 |
# File 'lib/macho/sections.rb', line 209 def to_h { "reserved3" => reserved3, }.merge super end |