macho-apple.h File Reference

Go to the source code of this file.

Classes

struct  dylib
struct  dylib_command
struct  dylib_module
struct  dylib_reference
struct  dylib_table_of_contents
struct  dylinker_command
struct  dysymtab_command
struct  fvmfile_command
struct  fvmlib
struct  fvmlib_command
struct  ident_command
union  lc_str
struct  load_command
struct  mach_header
struct  prebind_cksum_command
struct  prebound_dylib_command
struct  routines_command
struct  section
struct  segment_command
struct  sub_client_command
struct  sub_framework_command
struct  sub_library_command
struct  sub_umbrella_command
struct  symseg_command
struct  symtab_command
struct  thread_command
struct  twolevel_hint
struct  twolevel_hints_command

Defines

#define INDIRECT_SYMBOL_ABS   0x40000000
#define INDIRECT_SYMBOL_LOCAL   0x80000000
#define LC_DYSYMTAB   0xb
#define LC_FVMFILE   0x9
#define LC_ID_DYLIB   0xd
#define LC_ID_DYLINKER   0xf
#define LC_IDENT   0x8
#define LC_IDFVMLIB   0x7
#define LC_LOAD_DYLIB   0xc
#define LC_LOAD_DYLINKER   0xe
#define LC_LOAD_WEAK_DYLIB   (0x18 | LC_REQ_DYLD)
#define LC_LOADFVMLIB   0x6
#define LC_PREBIND_CKSUM   0x17
#define LC_PREBOUND_DYLIB   0x10
#define LC_PREPAGE   0xa
#define LC_REQ_DYLD   0x80000000
#define LC_ROUTINES   0x11
#define LC_SEGMENT   0x1
#define LC_SUB_CLIENT   0x14
#define LC_SUB_FRAMEWORK   0x12
#define LC_SUB_LIBRARY   0x15
#define LC_SUB_UMBRELLA   0x13
#define LC_SYMSEG   0x3
#define LC_SYMTAB   0x2
#define LC_THREAD   0x4
#define LC_TWOLEVEL_HINTS   0x16
#define LC_UNIXTHREAD   0x5
#define MH_ALLMODSBOUND   0x1000
#define MH_BINDATLOAD   0x8
#define MH_BUNDLE   0x8
#define MH_CANONICAL   0x4000
#define MH_CIGAM   NXSwapInt(MH_MAGIC)
#define MH_CORE   0x4
#define MH_DYLDLINK   0x4
#define MH_DYLIB   0x6
#define MH_DYLIB_STUB   0x9
#define MH_DYLINKER   0x7
#define MH_EXECUTE   0x2
#define MH_FORCE_FLAT   0x100
#define MH_FVMLIB   0x3
#define MH_INCRLINK   0x2
#define MH_LAZY_INIT   0x40
#define MH_MAGIC   0xfeedface
#define MH_NOFIXPREBINDING   0x400
#define MH_NOMULTIDEFS   0x200
#define MH_NOUNDEFS   0x1
#define MH_OBJECT   0x1
#define MH_PREBINDABLE   0x800
#define MH_PREBOUND   0x10
#define MH_PRELOAD   0x5
#define MH_SPLIT_SEGS   0x20
#define MH_TWOLEVEL   0x80
#define S_4BYTE_LITERALS   0x3
#define S_8BYTE_LITERALS   0x4
#define S_ATTR_EXT_RELOC   0x00000200
#define S_ATTR_LOC_RELOC   0x00000100
#define S_ATTR_NO_TOC   0x40000000
#define S_ATTR_PURE_INSTRUCTIONS   0x80000000
#define S_ATTR_SOME_INSTRUCTIONS   0x00000400
#define S_ATTR_STRIP_STATIC_SYMS   0x20000000
#define S_COALESCED   0xb
#define S_CSTRING_LITERALS   0x2
#define S_LAZY_SYMBOL_POINTERS   0x7
#define S_LITERAL_POINTERS   0x5
#define S_MOD_INIT_FUNC_POINTERS   0x9
#define S_MOD_TERM_FUNC_POINTERS   0xa
#define S_NON_LAZY_SYMBOL_POINTERS   0x6
#define S_REGULAR   0x0
#define S_SYMBOL_STUBS   0x8
#define S_ZEROFILL   0x1
#define SECT_BSS   "__bss"
#define SECT_COMMON   "__common"
#define SECT_DATA   "__data"
#define SECT_FVMLIB_INIT0   "__fvmlib_init0"
#define SECT_FVMLIB_INIT1   "__fvmlib_init1"
#define SECT_ICON_HEADER   "__header"
#define SECT_ICON_TIFF   "__tiff"
#define SECT_OBJC_MODULES   "__module_info"
#define SECT_OBJC_REFS   "__selector_refs"
#define SECT_OBJC_STRINGS   "__selector_strs"
#define SECT_OBJC_SYMBOLS   "__symbol_table"
#define SECT_TEXT   "__text"
#define SECTION_ATTRIBUTES   0xffffff00
#define SECTION_ATTRIBUTES_SYS   0x00ffff00
#define SECTION_ATTRIBUTES_USR   0xff000000
#define SECTION_TYPE   0x000000ff
#define SEG_DATA   "__DATA"
#define SEG_ICON   "__ICON"
#define SEG_LINKEDIT   "__LINKEDIT"
#define SEG_OBJC   "__OBJC"
#define SEG_PAGEZERO   "__PAGEZERO"
#define SEG_TEXT   "__TEXT"
#define SEG_UNIXSTACK   "__UNIXSTACK"
#define SG_FVMLIB   0x2
#define SG_HIGHVM   0x1
#define SG_NORELOC   0x4
#define VM_PROT_EXECUTE   ((vm_prot_t) 0x04)
#define VM_PROT_NONE   ((vm_prot_t) 0x00)
#define VM_PROT_READ   ((vm_prot_t) 0x01)
#define VM_PROT_WRITE   ((vm_prot_t) 0x02)


Define Documentation

#define INDIRECT_SYMBOL_ABS   0x40000000
 

Definition at line 801 of file macho-apple.h.

#define INDIRECT_SYMBOL_LOCAL   0x80000000
 

Definition at line 800 of file macho-apple.h.

#define LC_DYSYMTAB   0xb
 

Definition at line 188 of file macho-apple.h.

#define LC_FVMFILE   0x9
 

Definition at line 186 of file macho-apple.h.

#define LC_ID_DYLIB   0xd
 

Definition at line 190 of file macho-apple.h.

#define LC_ID_DYLINKER   0xf
 

Definition at line 192 of file macho-apple.h.

#define LC_IDENT   0x8
 

Definition at line 185 of file macho-apple.h.

#define LC_IDFVMLIB   0x7
 

Definition at line 184 of file macho-apple.h.

#define LC_LOAD_DYLIB   0xc
 

Definition at line 189 of file macho-apple.h.

#define LC_LOAD_DYLINKER   0xe
 

Definition at line 191 of file macho-apple.h.

#define LC_LOAD_WEAK_DYLIB   (0x18 | LC_REQ_DYLD)
 

Definition at line 206 of file macho-apple.h.

#define LC_LOADFVMLIB   0x6
 

Definition at line 183 of file macho-apple.h.

#define LC_PREBIND_CKSUM   0x17
 

Definition at line 201 of file macho-apple.h.

#define LC_PREBOUND_DYLIB   0x10
 

Definition at line 193 of file macho-apple.h.

#define LC_PREPAGE   0xa
 

Definition at line 187 of file macho-apple.h.

#define LC_REQ_DYLD   0x80000000
 

Definition at line 175 of file macho-apple.h.

#define LC_ROUTINES   0x11
 

Definition at line 195 of file macho-apple.h.

#define LC_SEGMENT   0x1
 

Definition at line 178 of file macho-apple.h.

Referenced by MachOBinaryFile::RealLoad().

#define LC_SUB_CLIENT   0x14
 

Definition at line 198 of file macho-apple.h.

#define LC_SUB_FRAMEWORK   0x12
 

Definition at line 196 of file macho-apple.h.

#define LC_SUB_LIBRARY   0x15
 

Definition at line 199 of file macho-apple.h.

#define LC_SUB_UMBRELLA   0x13
 

Definition at line 197 of file macho-apple.h.

#define LC_SYMSEG   0x3
 

Definition at line 180 of file macho-apple.h.

#define LC_SYMTAB   0x2
 

Definition at line 179 of file macho-apple.h.

Referenced by MachOBinaryFile::RealLoad().

#define LC_THREAD   0x4
 

Definition at line 181 of file macho-apple.h.

#define LC_TWOLEVEL_HINTS   0x16
 

Definition at line 200 of file macho-apple.h.

#define LC_UNIXTHREAD   0x5
 

Definition at line 182 of file macho-apple.h.

#define MH_ALLMODSBOUND   0x1000
 

Definition at line 138 of file macho-apple.h.

#define MH_BINDATLOAD   0x8
 

Definition at line 113 of file macho-apple.h.

#define MH_BUNDLE   0x8
 

Definition at line 100 of file macho-apple.h.

#define MH_CANONICAL   0x4000
 

Definition at line 143 of file macho-apple.h.

#define MH_CIGAM   NXSwapInt(MH_MAGIC)
 

Definition at line 68 of file macho-apple.h.

#define MH_CORE   0x4
 

Definition at line 96 of file macho-apple.h.

#define MH_DYLDLINK   0x4
 

Definition at line 110 of file macho-apple.h.

#define MH_DYLIB   0x6
 

Definition at line 98 of file macho-apple.h.

#define MH_DYLIB_STUB   0x9
 

Definition at line 101 of file macho-apple.h.

#define MH_DYLINKER   0x7
 

Definition at line 99 of file macho-apple.h.

#define MH_EXECUTE   0x2
 

Definition at line 94 of file macho-apple.h.

#define MH_FORCE_FLAT   0x100
 

Definition at line 126 of file macho-apple.h.

#define MH_FVMLIB   0x3
 

Definition at line 95 of file macho-apple.h.

#define MH_INCRLINK   0x2
 

Definition at line 107 of file macho-apple.h.

#define MH_LAZY_INIT   0x40
 

Definition at line 120 of file macho-apple.h.

#define MH_MAGIC   0xfeedface
 

Definition at line 67 of file macho-apple.h.

Referenced by MachOBinaryFile::RealLoad().

#define MH_NOFIXPREBINDING   0x400
 

Definition at line 132 of file macho-apple.h.

#define MH_NOMULTIDEFS   0x200
 

Definition at line 128 of file macho-apple.h.

#define MH_NOUNDEFS   0x1
 

Definition at line 105 of file macho-apple.h.

#define MH_OBJECT   0x1
 

Definition at line 93 of file macho-apple.h.

#define MH_PREBINDABLE   0x800
 

Definition at line 135 of file macho-apple.h.

#define MH_PREBOUND   0x10
 

Definition at line 116 of file macho-apple.h.

#define MH_PRELOAD   0x5
 

Definition at line 97 of file macho-apple.h.

#define MH_SPLIT_SEGS   0x20
 

Definition at line 118 of file macho-apple.h.

#define MH_TWOLEVEL   0x80
 

Definition at line 124 of file macho-apple.h.

#define S_4BYTE_LITERALS   0x3
 

Definition at line 310 of file macho-apple.h.

#define S_8BYTE_LITERALS   0x4
 

Definition at line 311 of file macho-apple.h.

#define S_ATTR_EXT_RELOC   0x00000200
 

Definition at line 356 of file macho-apple.h.

#define S_ATTR_LOC_RELOC   0x00000100
 

Definition at line 358 of file macho-apple.h.

#define S_ATTR_NO_TOC   0x40000000
 

Definition at line 346 of file macho-apple.h.

#define S_ATTR_PURE_INSTRUCTIONS   0x80000000
 

Definition at line 344 of file macho-apple.h.

#define S_ATTR_SOME_INSTRUCTIONS   0x00000400
 

Definition at line 354 of file macho-apple.h.

#define S_ATTR_STRIP_STATIC_SYMS   0x20000000
 

Definition at line 350 of file macho-apple.h.

#define S_COALESCED   0xb
 

Definition at line 337 of file macho-apple.h.

#define S_CSTRING_LITERALS   0x2
 

Definition at line 309 of file macho-apple.h.

#define S_LAZY_SYMBOL_POINTERS   0x7
 

Definition at line 328 of file macho-apple.h.

#define S_LITERAL_POINTERS   0x5
 

Definition at line 312 of file macho-apple.h.

#define S_MOD_INIT_FUNC_POINTERS   0x9
 

Definition at line 333 of file macho-apple.h.

#define S_MOD_TERM_FUNC_POINTERS   0xa
 

Definition at line 335 of file macho-apple.h.

#define S_NON_LAZY_SYMBOL_POINTERS   0x6
 

Definition at line 326 of file macho-apple.h.

#define S_REGULAR   0x0
 

Definition at line 307 of file macho-apple.h.

#define S_SYMBOL_STUBS   0x8
 

Definition at line 330 of file macho-apple.h.

Referenced by MachOBinaryFile::RealLoad().

#define S_ZEROFILL   0x1
 

Definition at line 308 of file macho-apple.h.

#define SECT_BSS   "__bss"
 

Definition at line 395 of file macho-apple.h.

#define SECT_COMMON   "__common"
 

Definition at line 397 of file macho-apple.h.

#define SECT_DATA   "__data"
 

Definition at line 393 of file macho-apple.h.

#define SECT_FVMLIB_INIT0   "__fvmlib_init0"
 

Definition at line 386 of file macho-apple.h.

#define SECT_FVMLIB_INIT1   "__fvmlib_init1"
 

Definition at line 388 of file macho-apple.h.

#define SECT_ICON_HEADER   "__header"
 

Definition at line 407 of file macho-apple.h.

#define SECT_ICON_TIFF   "__tiff"
 

Definition at line 408 of file macho-apple.h.

#define SECT_OBJC_MODULES   "__module_info"
 

Definition at line 402 of file macho-apple.h.

Referenced by MachOBinaryFile::RealLoad().

#define SECT_OBJC_REFS   "__selector_refs"
 

Definition at line 404 of file macho-apple.h.

Referenced by MachOBinaryFile::RealLoad().

#define SECT_OBJC_STRINGS   "__selector_strs"
 

Definition at line 403 of file macho-apple.h.

Referenced by MachOBinaryFile::RealLoad().

#define SECT_OBJC_SYMBOLS   "__symbol_table"
 

Definition at line 401 of file macho-apple.h.

Referenced by MachOBinaryFile::RealLoad().

#define SECT_TEXT   "__text"
 

Definition at line 384 of file macho-apple.h.

#define SECTION_ATTRIBUTES   0xffffff00
 

Definition at line 304 of file macho-apple.h.

#define SECTION_ATTRIBUTES_SYS   0x00ffff00
 

Definition at line 353 of file macho-apple.h.

#define SECTION_ATTRIBUTES_USR   0xff000000
 

Definition at line 343 of file macho-apple.h.

#define SECTION_TYPE   0x000000ff
 

Definition at line 303 of file macho-apple.h.

Referenced by MachOBinaryFile::RealLoad().

#define SEG_DATA   "__DATA"
 

Definition at line 392 of file macho-apple.h.

#define SEG_ICON   "__ICON"
 

Definition at line 406 of file macho-apple.h.

#define SEG_LINKEDIT   "__LINKEDIT"
 

Definition at line 410 of file macho-apple.h.

#define SEG_OBJC   "__OBJC"
 

Definition at line 400 of file macho-apple.h.

#define SEG_PAGEZERO   "__PAGEZERO"
 

Definition at line 378 of file macho-apple.h.

#define SEG_TEXT   "__TEXT"
 

Definition at line 383 of file macho-apple.h.

#define SEG_UNIXSTACK   "__UNIXSTACK"
 

Definition at line 416 of file macho-apple.h.

#define SG_FVMLIB   0x2
 

Definition at line 251 of file macho-apple.h.

#define SG_HIGHVM   0x1
 

Definition at line 248 of file macho-apple.h.

#define SG_NORELOC   0x4
 

Definition at line 254 of file macho-apple.h.

#define VM_PROT_EXECUTE   ((vm_prot_t) 0x04)
 

Definition at line 44 of file macho-apple.h.

#define VM_PROT_NONE   ((vm_prot_t) 0x00)
 

Definition at line 41 of file macho-apple.h.

#define VM_PROT_READ   ((vm_prot_t) 0x01)
 

Definition at line 42 of file macho-apple.h.

#define VM_PROT_WRITE   ((vm_prot_t) 0x02)
 

Definition at line 43 of file macho-apple.h.


Generated on Tue Sep 19 21:18:37 2006 for Boomerang by  doxygen 1.4.6