Package vstruct :: Package defs :: Package macho :: Module const
[hide private]
[frames] | no frames]

Module const

source code

Variables [hide private]
  FAT_MAGIC = 0xcafebabe
  FAT_CIGAM = 0xbebafeca
  MH_MAGIC = 0xfeedface
  MH_CIGAM = 0xcefaedfe
  MH_MAGIC_64 = 0xfeedfacf
  MH_CIGAM_64 = 0xcffaedfe
  MH_OBJECT = 0x1
  MH_EXECUTE = 0x2
  MH_FVMLIB = 0x3
  MH_CORE = 0x4
  MH_PRELOAD = 0x5
  MH_DYLIB = 0x6
  MH_DYLINKER = 0x7
  MH_BUNDLE = 0x8
  MH_DYLIB_STUB = 0x9
  MH_DSYM = 0xa
  MH_NOUNDEFS = 0x1
  MH_INCRLINK = 0x2
  MH_DYLDLINK = 0x4
  MH_BINDATLOAD = 0x8
  MH_PREBOUND = 0x10
  MH_SPLIT_SEGS = 0x20
  MH_LAZY_INIT = 0x40
  MH_TWOLEVEL = 0x80
  MH_FORCE_FLAT = 0x100
  MH_NOMULTIDEFS = 0x200
  MH_NOFIXPREBINDING = 0x400
  MH_PREBINDABLE = 0x800
  MH_ALLMODSBOUND = 0x1000
  MH_CANONICAL = 0x4000
  MH_WEAK_DEFINES = 0x8000
  MH_BINDS_TO_WEAK = 0x10000
  MH_ROOT_SAFE = 0x40000
  MH_SETUID_SAFE = 0x80000
  MH_NO_REEXPORTED_DYLIBS = 0x100000
  MH_PIE = 0x200000
  LC_REQ_DYLD = 0x80000000
  LC_SEGMENT = 0x1
  LC_SYMTAB = 0x2
  LC_SYMSEG = 0x3
  LC_THREAD = 0x4
  LC_UNIXTHREAD = 0x5
  LC_LOADFVMLIB = 0x6
  LC_IDFVMLIB = 0x7
  LC_IDENT = 0x8
  LC_FVMFILE = 0x9
  LC_PREPAGE = 0xa
  LC_DYSYMTAB = 0xb
  LC_LOAD_DYLIB = 0xc
  LC_ID_DYLIB = 0xd
  LC_LOAD_DYLINKER = 0xe
  LC_ID_DYLINKER = 0xf
  LC_PREBOUND_DYLIB = 0x10
  LC_ROUTINES = 0x11
  LC_SUB_FRAMEWORK = 0x12
  LC_SUB_UMBRELLA = 0x13
  LC_SUB_CLIENT = 0x14
  LC_SUB_LIBRARY = 0x15
  LC_TWOLEVEL_HINTS = 0x16
  LC_PREBIND_CKSUM = 0x17
  LC_SEGMENT_64 = 0x19
  LC_ROUTINES_64 = 0x1a
  LC_UUID = 0x1b
  LC_CODE_SIGNATURE = 0x1d
  LC_SEGMENT_SPLIT_INFO = 0x1e
  LC_LAZY_LOAD_DYLIB = 0x20
  LC_ENCRYPTION_INFO = 0x21
  LC_DYLD_INFO = 0x22
  SG_HIGHVM = 0x1
  SG_FVMLIB = 0x2
  SG_NORELOC = 0x4
  SG_PROTECTED_VERSION_1 = 0x8
  SECTION_TYPE = 0x000000ff
  SECTION_ATTRIBUTES = 0xffffff00
  S_REGULAR = 0x0
  S_ZEROFILL = 0x1
  S_CSTRING_LITERALS = 0x2
  S_4BYTE_LITERALS = 0x3
  S_8BYTE_LITERALS = 0x4
  S_LITERAL_POINTERS = 0x5
  S_NON_LAZY_SYMBOL_POINTERS = 0x6
  S_LAZY_SYMBOL_POINTERS = 0x7
  S_SYMBOL_STUBS = 0x8
  S_MOD_INIT_FUNC_POINTERS = 0x9
  S_MOD_TERM_FUNC_POINTERS = 0xa
  S_COALESCED = 0xb
  S_GB_ZEROFILL = 0xc
  S_INTERPOSING = 0xd
  S_16BYTE_LITERALS = 0xe
  S_DTRACE_DOF = 0xf
  S_LAZY_DYLIB_SYMBOL_POINTERS = 0x10
  SECTION_ATTRIBUTES_USR = 0xff000000
  S_ATTR_PURE_INSTRUCTIONS = 0x80000000
  S_ATTR_NO_TOC = 0x40000000
  S_ATTR_STRIP_STATIC_SYMS = 0x20000000
  S_ATTR_NO_DEAD_STRIP = 0x10000000
  S_ATTR_LIVE_SUPPORT = 0x08000000
  S_ATTR_SELF_MODIFYING_CODE = 0x04000000
  S_ATTR_DEBUG = 0x02000000
  SECTION_ATTRIBUTES_SYS = 0x00ffff00
  S_ATTR_SOME_INSTRUCTIONS = 0x00000400
  S_ATTR_EXT_RELOC = 0x00000200
  S_ATTR_LOC_RELOC = 0x00000100
  INDIRECT_SYMBOL_LOCAL = 0x80000000
  INDIRECT_SYMBOL_ABS = 0x40000000
  CPU_TYPE_ANY = -1
  CPU_TYPE_VAX = 1
  CPU_TYPE_MC680 = 6
  CPU_TYPE_X86 = 7
  CPU_TYPE_X86_64 = 0x01000007
  CPU_TYPE_MIPS = 8
  CPU_TYPE_MC98000 = 10
  CPU_TYPE_HPPA = 11
  CPU_TYPE_ARM = 12
  CPU_TYPE_MC88000 = 13
  CPU_TYPE_SPARC = 14
  CPU_TYPE_I860 = 15
  CPU_TYPE_ALPHA = 16
  CPU_TYPE_POWERPC = 18
  mach_cpu_names = {CPU_TYPE_VAX: 'vax', CPU_TYPE_MC680: 'mc680'...
  N_GSYM = 0x20
  N_FNAME = 0x22
  N_FUN = 0x24
  N_STSYM = 0x26
  N_LCSYM = 0x28
  N_BNSYM = 0x2e
  N_PC = 0x30
  N_OPT = 0x3c
  N_RSYM = 0x40
  N_SLINE = 0x44
  N_ENSYM = 0x4e
  N_SSYM = 0x60
  N_SO = 0x64
  N_LSYM = 0x80
  N_BINCL = 0x82
  N_SOL = 0x84
  N_PARAMS = 0x86
  N_VERSION = 0x88
  N_OLEVEL = 0x8A
  N_PSYM = 0xA0
  N_EINCL = 0xA2
  N_ENTRY = 0xA4
  N_LBRAC = 0xC0
  N_EXCL = 0xC2
  N_RBRAC = 0xE0
  N_BCOMM = 0xE2
  N_ECOMM = 0xE4
  N_ECOML = 0xE8
  N_LENG = 0xFE
  N_STAB = 0xe0
  N_PEXT = 0x10
  N_TYPE = 0x0e
  N_EXT = 0x01
  N_UNDF = 0x0
  N_ABS = 0x2
  N_SECT = 0xe
  N_PBUD = 0xc
  N_INDR = 0xa
Variables Details [hide private]

mach_cpu_names

Value:
{CPU_TYPE_VAX: 'vax', CPU_TYPE_MC680: 'mc680', CPU_TYPE_X86: 'i386', C\
PU_TYPE_X86_64: 'amd64', CPU_TYPE_MIPS: 'mips', CPU_TYPE_MC98000: 'mc9\
8000', CPU_TYPE_HPPA: 'hppa', CPU_TYPE_ARM: 'arm', CPU_TYPE_MC88000: '\
mc88000', CPU_TYPE_SPARC: 'sparc', CPU_TYPE_I860: 'i860', CPU_TYPE_ALP\
HA: 'alpha', CPU_TYPE_POWERPC: 'powerpc',}