Class: MachO::MachHeader64
- Inherits:
-
MachHeader
- Object
- MachOStructure
- MachHeader
- MachO::MachHeader64
- Defined in:
- lib/macho/headers.rb
Overview
64-bit Mach-O file header structure
Constant Summary collapse
- FORMAT =
"VVVVVVVV"
- SIZEOF =
32
Instance Attribute Summary collapse
- #reserved ⇒ void readonly
Attributes inherited from MachHeader
#cpusubtype, #cputype, #filetype, #flags, #magic, #ncmds, #sizeofcmds
Instance Method Summary collapse
-
#initialize(magic, cputype, cpusubtype, filetype, ncmds, sizeofcmds, flags, reserved) ⇒ MachHeader64
constructor
private
A new instance of MachHeader64.
Methods inherited from MachHeader
Methods inherited from MachOStructure
Constructor Details
#initialize(magic, cputype, cpusubtype, filetype, ncmds, sizeofcmds, flags, reserved) ⇒ MachHeader64
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of MachHeader64.
269 270 271 272 273 |
# File 'lib/macho/headers.rb', line 269 def initialize(magic, cputype, cpusubtype, filetype, ncmds, sizeofcmds, flags, reserved) super(magic, cputype, cpusubtype, filetype, ncmds, sizeofcmds, flags) @reserved = reserved end |
Instance Attribute Details
#reserved ⇒ void (readonly)
This method returns an undefined value.
263 264 265 |
# File 'lib/macho/headers.rb', line 263 def reserved @reserved end |