class OdinFlex::MachO::Header

Constants

MH_BUNDLE
MH_CORE
MH_DSYM
MH_DYLIB
MH_DYLIB_STUB
MH_DYLINKER
MH_EXECUTE
MH_FILESET
MH_FVMLIB
MH_KEXT_BUNDLE
MH_OBJECT
MH_PRELOAD
SIZEOF

Public Instance Methods

dsym_file?() click to toggle source
# File lib/odinflex/mach-o.rb, line 62
def dsym_file?
  filetype == MH_DSYM
end
executable_file?() click to toggle source
# File lib/odinflex/mach-o.rb, line 58
def executable_file?
  filetype == MH_EXECUTE
end
object_file?() click to toggle source
# File lib/odinflex/mach-o.rb, line 54
def object_file?
  filetype == MH_OBJECT
end