Class: MachO::Headers::MachHeader64

Inherits:
MachHeader show all
Defined in:
lib/macho/headers.rb

Overview

64-bit Mach-O file header structure

Instance Method Summary collapse

Methods inherited from MachHeader

#alignment, #bundle?, #core?, #cpusubtype, #cputype, #dsym?, #dylib?, #dylinker?, #executable?, #fileset?, #filetype, #flag?, #flags, #fvmlib?, #kext?, #magic, #magic32?, #magic64?, #ncmds, #object?, #preload?, #sizeofcmds

Methods inherited from MachOStructure

bytesize, format, #initialize, new_from_bin

Constructor Details

This class inherits a constructor from MachO::MachOStructure

Instance Method Details

#reservedvoid

This method returns an undefined value.



723
# File 'lib/macho/headers.rb', line 723

field :reserved, :uint32

#to_hHash

Returns a hash representation of this MachO::Headers::MachHeader64.

Returns:



726
727
728
729
730
# File 'lib/macho/headers.rb', line 726

def to_h
  {
    "reserved" => reserved,
  }.merge super
end