Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

machostruc.h File Reference

#include "global.h"

Go to the source code of this file.

Classes

struct  MACHO_COMMAND
union  MACHO_COMMAND_U
struct  MACHO_HEADER
struct  MACHO_I386_THREAD_STATE
struct  MACHO_PPC_THREAD_STATE
struct  MACHO_SECTION
struct  MACHO_SEGMENT_COMMAND
struct  MACHO_SYMTAB_COMMAND
struct  MACHO_SYMTAB_NLIST
struct  MACHO_THREAD_COMMAND
union  MACHO_THREAD_STATE

Defines

#define MH_OBJECT   0x1
#define MH_EXECUTE   0x2
#define MH_FVMLIB   0x3
#define MH_CORE   0x4
#define MH_PRELOAD   0x5
#define MH_DYLIB   0x6
#define MH_DYLINKER   0x7
#define MH_BUNDLE   0x8
#define MH_NOUNDEFS   0x1
#define MH_INCRLINK   0x2
#define MH_DYLDLINK   0x4
#define MH_BINDATLOAD   0x8
#define MH_PREBOUND   0x10
#define LC_SEGMENT   0x1
#define LC_SYMTAB   0x2
#define LC_SYMSEG   0x3
#define LC_THREAD   0x4
#define LC_UNIXTHREAD   0x5
#define LC_LOADFVMLIB   0x6
#define LC_IDFVMLIB   0x7
#define LC_IDENT   0x8
#define LC_FVMFILE   0x9
#define LC_PREPAGE   0xa
#define LC_DYSYMTAB   0xb
#define LC_LOAD_DYLIB   0xc
#define LC_ID_DYLIB   0xd
#define LC_LOAD_DYLINKER   0xe
#define LC_ID_DYLINKER   0xf
#define LC_PREBOUND_DYLIB   0x10
#define SG_HIGHVM   0x1
#define SG_FVMLIB   0x2
#define SG_NORELOC   0x4
#define MACHO_SECTION_TYPE   0x000000ff
#define MACHO_SECTION_ATTRIBUTES   0xffffff00
#define MACHO_S_REGULAR   0x0
#define MACHO_S_ZEROFILL   0x1
#define MACHO_S_CSTRING_LITERALS   0x2
#define MACHO_S_4BYTE_LITERALS   0x3
#define MACHO_S_8BYTE_LITERALS   0x4
#define MACHO_S_LITERAL_POINTERS   0x5
#define MACHO_S_NON_LAZY_SYMBOL_POINTERS   0x6
#define MACHO_S_LAZY_SYMBOL_POINTERS   0x7
#define MACHO_S_SYMBOL_STUBS   0x8
#define MACHO_S_MOD_INIT_FUNC_POINTERS   0x9
#define MACHO_SECTION_ATTRIBUTES_USR   0xff000000
#define MACHO_S_ATTR_PURE_INSTRUCTIONS   0x80000000
#define MACHO_SECTION_ATTRIBUTES_SYS   0x00ffff00
#define MACHO_S_ATTR_SOME_INSTRUCTIONS   0x00000400
#define MACHO_S_ATTR_EXT_RELOC   0x00000200
#define MACHO_S_ATTR_LOC_RELOC   0x00000100
#define FLAVOR_PPC_THREAD_STATE   1
#define FLAVOR_PPC_FLOAT_STATE   2
#define FLAVOR_PPC_EXCEPTION_STATE   3
#define FLAVOR_PPC_VECTOR_STATE   4
#define FLAVOR_THREAD_STATE_NONE   7
#define i386_NEW_THREAD_STATE   1
#define i386_FLOAT_STATE   2
#define i386_ISA_PORT_MAP_STATE   3
#define i386_V86_ASSIST_STATE   4
#define i386_REGS_SEGS_STATE   5
#define THREAD_SYSCALL_STATE   6
#define THREAD_STATE_NONE   7
#define i386_SAVED_STATE   8
#define MACHO_SYMBOL_N_STAB   0xe0
#define MACHO_SYMBOL_N_PEXT   0x10
#define MACHO_SYMBOL_N_TYPE   0x0e
#define MACHO_SYMBOL_N_EXT   0x01
#define MACHO_SYMBOL_TYPE_N_UNDF   0x00
#define MACHO_SYMBOL_TYPE_N_ABS   0x02
#define MACHO_SYMBOL_TYPE_N_INDR   0x0a
#define MACHO_SYMBOL_TYPE_N_PBUD   0x0c
#define MACHO_SYMBOL_TYPE_N_SECT   0x0e
#define MACHO_CPU_TYPE_ANY   -1
#define MACHO_CPU_TYPE_VAX   1
#define MACHO_CPU_TYPE_MC680x0   6
#define MACHO_CPU_TYPE_I386   7
#define MACHO_CPU_TYPE_MC98000   10
#define MACHO_CPU_TYPE_HPPA   11
#define MACHO_CPU_TYPE_MC88000   13
#define MACHO_CPU_TYPE_SPARC   14
#define MACHO_CPU_TYPE_I860   15
#define MACHO_CPU_TYPE_POWERPC   18
#define MACHO_CPU_SUBTYPE_MULTIPLE   -1
#define MACHO_CPU_SUBTYPE_LITTLE_ENDIAN   0
#define MACHO_CPU_SUBTYPE_BIG_ENDIAN   1
#define MACHO_CPU_SUBTYPE_VAX_ALL   0
#define MACHO_CPU_SUBTYPE_VAX780   1
#define MACHO_CPU_SUBTYPE_VAX785   2
#define MACHO_CPU_SUBTYPE_VAX750   3
#define MACHO_CPU_SUBTYPE_VAX730   4
#define MACHO_CPU_SUBTYPE_UVAXI   5
#define MACHO_CPU_SUBTYPE_UVAXII   6
#define MACHO_CPU_SUBTYPE_VAX8200   7
#define MACHO_CPU_SUBTYPE_VAX8500   8
#define MACHO_CPU_SUBTYPE_VAX8600   9
#define MACHO_CPU_SUBTYPE_VAX8650   10
#define MACHO_CPU_SUBTYPE_VAX8800   11
#define MACHO_CPU_SUBTYPE_UVAXIII   12
#define MACHO_CPU_SUBTYPE_MC680x0_ALL   1
#define MACHO_CPU_SUBTYPE_MC68030   1
#define MACHO_CPU_SUBTYPE_MC68040   2
#define MACHO_CPU_SUBTYPE_MC68030_ONLY   3
#define MACHO_CPU_SUBTYPE_I386_ALL   3
#define MACHO_CPU_SUBTYPE_386   3
#define MACHO_CPU_SUBTYPE_486   4
#define MACHO_CPU_SUBTYPE_486SX   4 + 128
#define MACHO_CPU_SUBTYPE_586   5
#define MACHO_CPU_SUBTYPE_INTEL(f, m)   (f + ((m) << 4)
#define MACHO_CPU_SUBTYPE_PENT   MACHO_CPU_SUBTYPE_INTEL(5, 0)
#define MACHO_CPU_SUBTYPE_PENTPRO   MACHO_CPU_SUBTYPE_INTEL(6, 1)
#define MACHO_CPU_SUBTYPE_PENTII_M3   MACHO_CPU_SUBTYPE_INTEL(6, 3)
#define MACHO_CPU_SUBTYPE_PENTII_M5   MACHO_CPU_SUBTYPE_INTEL(6, 5)
#define MACHO_CPU_SUBTYPE_INTEL_FAMILY(x)   ((x) & 15)
#define MACHO_CPU_SUBTYPE_INTEL_FAMILY_MAX   15
#define MACHO_CPU_SUBTYPE_INTEL_MODEL(x)   ((x) >> 4)
#define MACHO_CPU_SUBTYPE_INTEL_MODEL_ALL   0
#define MACHO_CPU_SUBTYPE_MIPS_ALL   0
#define MACHO_CPU_SUBTYPE_MIPS_R2300   1
#define MACHO_CPU_SUBTYPE_MIPS_R2600   2
#define MACHO_CPU_SUBTYPE_MIPS_R2800   3
#define MACHO_CPU_SUBTYPE_MIPS_R2000a   4
#define MACHO_CPU_SUBTYPE_MIPS_R2000   5
#define MACHO_CPU_SUBTYPE_MIPS_R3000a   6
#define MACHO_CPU_SUBTYPE_MIPS_R3000   7
#define MACHO_CPU_SUBTYPE_MC98000_ALL   0
#define MACHO_CPU_SUBTYPE_MC98601   1
#define MACHO_CPU_SUBTYPE_HPPA_ALL   0
#define MACHO_CPU_SUBTYPE_HPPA_7100   0
#define MACHO_CPU_SUBTYPE_HPPA_7100LC   1
#define MACHO_CPU_SUBTYPE_MC88000_ALL   0
#define MACHO_CPU_SUBTYPE_MC88100   1
#define MACHO_CPU_SUBTYPE_MC88110   2
#define MACHO_CPU_SUBTYPE_SPARC_ALL   0
#define MACHO_CPU_SUBTYPE_I860_ALL   0
#define MACHO_CPU_SUBTYPE_I860_860   1
#define MACHO_CPU_SUBTYPE_POWERPC_ALL   0
#define MACHO_CPU_SUBTYPE_POWERPC_601   1
#define MACHO_CPU_SUBTYPE_POWERPC_602   2
#define MACHO_CPU_SUBTYPE_POWERPC_603   3
#define MACHO_CPU_SUBTYPE_POWERPC_603e   4
#define MACHO_CPU_SUBTYPE_POWERPC_603ev   5
#define MACHO_CPU_SUBTYPE_POWERPC_604   6
#define MACHO_CPU_SUBTYPE_POWERPC_604e   7
#define MACHO_CPU_SUBTYPE_POWERPC_620   8
#define MACHO_CPU_SUBTYPE_POWERPC_750   9
#define MACHO_CPU_SUBTYPE_POWERPC_7400   10
#define MACHO_CPU_SUBTYPE_POWERPC_7450   11

Variables

byte MACHO_HEADER_struct []
byte MACHO_COMMAND_struct []
byte MACHO_SEGMENT_COMMAND_struct []
byte MACHO_SECTION_struct []
byte MACHO_THREAD_COMMAND_struct []
byte MACHO_PPC_THREAD_STATE_struct []
byte MACHO_I386_THREAD_STATE_struct []
byte MACHO_SYMTAB_COMMAND_struct []
byte MACHO_SYMTAB_NLIST_struct []


Define Documentation

#define FLAVOR_PPC_EXCEPTION_STATE   3
 

Definition at line 210 of file machostruc.h.

#define FLAVOR_PPC_FLOAT_STATE   2
 

Definition at line 209 of file machostruc.h.

#define FLAVOR_PPC_THREAD_STATE   1
 

Definition at line 208 of file machostruc.h.

Referenced by ht_macho::init().

#define FLAVOR_PPC_VECTOR_STATE   4
 

Definition at line 211 of file machostruc.h.

#define FLAVOR_THREAD_STATE_NONE   7
 

Definition at line 212 of file machostruc.h.

#define i386_FLOAT_STATE   2
 

Definition at line 234 of file machostruc.h.

#define i386_ISA_PORT_MAP_STATE   3
 

Definition at line 235 of file machostruc.h.

#define i386_NEW_THREAD_STATE   1
 

Definition at line 233 of file machostruc.h.

#define i386_REGS_SEGS_STATE   5
 

Definition at line 237 of file machostruc.h.

#define i386_SAVED_STATE   8
 

Definition at line 240 of file machostruc.h.

#define i386_V86_ASSIST_STATE   4
 

Definition at line 236 of file machostruc.h.

#define LC_DYSYMTAB   0xb
 

Definition at line 69 of file machostruc.h.

#define LC_FVMFILE   0x9
 

Definition at line 67 of file machostruc.h.

#define LC_ID_DYLIB   0xd
 

Definition at line 71 of file machostruc.h.

#define LC_ID_DYLINKER   0xf
 

Definition at line 73 of file machostruc.h.

#define LC_IDENT   0x8
 

Definition at line 66 of file machostruc.h.

#define LC_IDFVMLIB   0x7
 

Definition at line 65 of file machostruc.h.

#define LC_LOAD_DYLIB   0xc
 

Definition at line 70 of file machostruc.h.

#define LC_LOAD_DYLINKER   0xe
 

Definition at line 72 of file machostruc.h.

#define LC_LOADFVMLIB   0x6
 

Definition at line 64 of file machostruc.h.

#define LC_PREBOUND_DYLIB   0x10
 

Definition at line 74 of file machostruc.h.

#define LC_PREPAGE   0xa
 

Definition at line 68 of file machostruc.h.

#define LC_SEGMENT   0x1
 

Definition at line 59 of file machostruc.h.

Referenced by MachoAnalyser::beginAnalysis(), and ht_macho::init().

#define LC_SYMSEG   0x3
 

Definition at line 61 of file machostruc.h.

#define LC_SYMTAB   0x2
 

Definition at line 60 of file machostruc.h.

Referenced by MachoAnalyser::beginAnalysis(), and ht_macho::init().

#define LC_THREAD   0x4
 

Definition at line 62 of file machostruc.h.

Referenced by MachoAnalyser::beginAnalysis(), and ht_macho::init().

#define LC_UNIXTHREAD   0x5
 

Definition at line 63 of file machostruc.h.

Referenced by MachoAnalyser::beginAnalysis(), and ht_macho::init().

#define MACHO_CPU_SUBTYPE_386   3
 

Definition at line 383 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_486   4
 

Definition at line 384 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_486SX   4 + 128
 

Definition at line 385 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_586   5
 

Definition at line 386 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_BIG_ENDIAN   1
 

Definition at line 335 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_HPPA_7100   0
 

Definition at line 424 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_HPPA_7100LC   1
 

Definition at line 425 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_HPPA_ALL   0
 

Definition at line 423 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_I386_ALL   3
 

Definition at line 382 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_I860_860   1
 

Definition at line 443 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_I860_ALL   0
 

Definition at line 442 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_INTEL f,
 )     (f + ((m) << 4)
 

Definition at line 387 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_INTEL_FAMILY  )     ((x) & 15)
 

Definition at line 393 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_INTEL_FAMILY_MAX   15
 

Definition at line 394 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_INTEL_MODEL  )     ((x) >> 4)
 

Definition at line 396 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_INTEL_MODEL_ALL   0
 

Definition at line 397 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_LITTLE_ENDIAN   0
 

Definition at line 334 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MC68030   1
 

Definition at line 374 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MC68030_ONLY   3
 

Definition at line 376 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MC68040   2
 

Definition at line 375 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MC680x0_ALL   1
 

Definition at line 373 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MC88000_ALL   0
 

Definition at line 430 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MC88100   1
 

Definition at line 431 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MC88110   2
 

Definition at line 432 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MC98000_ALL   0
 

Definition at line 415 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MC98601   1
 

Definition at line 416 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MIPS_ALL   0
 

Definition at line 403 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MIPS_R2000   5
 

Definition at line 408 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MIPS_R2000a   4
 

Definition at line 407 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MIPS_R2300   1
 

Definition at line 404 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MIPS_R2600   2
 

Definition at line 405 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MIPS_R2800   3
 

Definition at line 406 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MIPS_R3000   7
 

Definition at line 410 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MIPS_R3000a   6
 

Definition at line 409 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_MULTIPLE   -1
 

Definition at line 333 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_PENT   MACHO_CPU_SUBTYPE_INTEL(5, 0)
 

Definition at line 388 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_PENTII_M3   MACHO_CPU_SUBTYPE_INTEL(6, 3)
 

Definition at line 390 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_PENTII_M5   MACHO_CPU_SUBTYPE_INTEL(6, 5)
 

Definition at line 391 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_PENTPRO   MACHO_CPU_SUBTYPE_INTEL(6, 1)
 

Definition at line 389 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_601   1
 

Definition at line 449 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_602   2
 

Definition at line 450 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_603   3
 

Definition at line 451 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_603e   4
 

Definition at line 452 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_603ev   5
 

Definition at line 453 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_604   6
 

Definition at line 454 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_604e   7
 

Definition at line 455 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_620   8
 

Definition at line 456 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_7400   10
 

Definition at line 458 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_7450   11
 

Definition at line 459 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_750   9
 

Definition at line 457 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_POWERPC_ALL   0
 

Definition at line 448 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_SPARC_ALL   0
 

Definition at line 437 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_UVAXI   5
 

Definition at line 347 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_UVAXII   6
 

Definition at line 348 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_UVAXIII   12
 

Definition at line 354 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX730   4
 

Definition at line 346 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX750   3
 

Definition at line 345 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX780   1
 

Definition at line 343 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX785   2
 

Definition at line 344 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX8200   7
 

Definition at line 349 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX8500   8
 

Definition at line 350 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX8600   9
 

Definition at line 351 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX8650   10
 

Definition at line 352 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX8800   11
 

Definition at line 353 of file machostruc.h.

#define MACHO_CPU_SUBTYPE_VAX_ALL   0
 

Definition at line 342 of file machostruc.h.

#define MACHO_CPU_TYPE_ANY   -1
 

Definition at line 294 of file machostruc.h.

#define MACHO_CPU_TYPE_HPPA   11
 

Definition at line 306 of file machostruc.h.

#define MACHO_CPU_TYPE_I386   7
 

Definition at line 302 of file machostruc.h.

Referenced by MachoAnalyser::beginAnalysis(), MachoAnalyser::createAddress(), MachoAnalyser::createAddress32(), ht_macho::init(), and MachoAnalyser::initUnasm().

#define MACHO_CPU_TYPE_I860   15
 

Definition at line 310 of file machostruc.h.

#define MACHO_CPU_TYPE_MC680x0   6
 

Definition at line 301 of file machostruc.h.

#define MACHO_CPU_TYPE_MC88000   13
 

Definition at line 308 of file machostruc.h.

#define MACHO_CPU_TYPE_MC98000   10
 

Definition at line 305 of file machostruc.h.

#define MACHO_CPU_TYPE_POWERPC   18
 

Definition at line 313 of file machostruc.h.

Referenced by MachoAnalyser::beginAnalysis(), MachoAnalyser::createAddress(), MachoAnalyser::createAddress32(), ht_macho::init(), and MachoAnalyser::initUnasm().

#define MACHO_CPU_TYPE_SPARC   14
 

Definition at line 309 of file machostruc.h.

#define MACHO_CPU_TYPE_VAX   1
 

Definition at line 296 of file machostruc.h.

#define MACHO_S_4BYTE_LITERALS   0x3
 

Definition at line 123 of file machostruc.h.

Referenced by MachoAnalyser::validAddress().

#define MACHO_S_8BYTE_LITERALS   0x4
 

Definition at line 124 of file machostruc.h.

Referenced by MachoAnalyser::validAddress().

#define MACHO_S_ATTR_EXT_RELOC   0x00000200
 

Definition at line 158 of file machostruc.h.

#define MACHO_S_ATTR_LOC_RELOC   0x00000100
 

Definition at line 160 of file machostruc.h.

#define MACHO_S_ATTR_PURE_INSTRUCTIONS   0x80000000
 

Definition at line 153 of file machostruc.h.

#define MACHO_S_ATTR_SOME_INSTRUCTIONS   0x00000400
 

Definition at line 156 of file machostruc.h.

#define MACHO_S_CSTRING_LITERALS   0x2
 

Definition at line 122 of file machostruc.h.

Referenced by MachoAnalyser::validAddress().

#define MACHO_S_LAZY_SYMBOL_POINTERS   0x7
 

Definition at line 141 of file machostruc.h.

#define MACHO_S_LITERAL_POINTERS   0x5
 

Definition at line 125 of file machostruc.h.

#define MACHO_S_MOD_INIT_FUNC_POINTERS   0x9
 

Definition at line 146 of file machostruc.h.

#define MACHO_S_NON_LAZY_SYMBOL_POINTERS   0x6
 

Definition at line 139 of file machostruc.h.

#define MACHO_S_REGULAR   0x0
 

Definition at line 120 of file machostruc.h.

Referenced by MachoAnalyser::validAddress().

#define MACHO_S_SYMBOL_STUBS   0x8
 

Definition at line 143 of file machostruc.h.

#define MACHO_S_ZEROFILL   0x1
 

Definition at line 121 of file machostruc.h.

Referenced by MachoAnalyser::validAddress().

#define MACHO_SECTION_ATTRIBUTES   0xffffff00
 

Definition at line 117 of file machostruc.h.

#define MACHO_SECTION_ATTRIBUTES_SYS   0x00ffff00
 

Definition at line 155 of file machostruc.h.

#define MACHO_SECTION_ATTRIBUTES_USR   0xff000000
 

Definition at line 152 of file machostruc.h.

#define MACHO_SECTION_TYPE   0x000000ff
 

Definition at line 116 of file machostruc.h.

Referenced by MachoAnalyser::validAddress().

#define MACHO_SYMBOL_N_EXT   0x01
 

Definition at line 282 of file machostruc.h.

#define MACHO_SYMBOL_N_PEXT   0x10
 

Definition at line 280 of file machostruc.h.

#define MACHO_SYMBOL_N_STAB   0xe0
 

Definition at line 279 of file machostruc.h.

#define MACHO_SYMBOL_N_TYPE   0x0e
 

Definition at line 281 of file machostruc.h.

Referenced by MachoAnalyser::beginAnalysis().

#define MACHO_SYMBOL_TYPE_N_ABS   0x02
 

Definition at line 285 of file machostruc.h.

#define MACHO_SYMBOL_TYPE_N_INDR   0x0a
 

Definition at line 286 of file machostruc.h.

#define MACHO_SYMBOL_TYPE_N_PBUD   0x0c
 

Definition at line 287 of file machostruc.h.

#define MACHO_SYMBOL_TYPE_N_SECT   0x0e
 

Definition at line 288 of file machostruc.h.

Referenced by MachoAnalyser::beginAnalysis().

#define MACHO_SYMBOL_TYPE_N_UNDF   0x00
 

Definition at line 284 of file machostruc.h.

#define MH_BINDATLOAD   0x8
 

Definition at line 50 of file machostruc.h.

#define MH_BUNDLE   0x8
 

Definition at line 44 of file machostruc.h.

#define MH_CORE   0x4
 

Definition at line 40 of file machostruc.h.

#define MH_DYLDLINK   0x4
 

Definition at line 49 of file machostruc.h.

#define MH_DYLIB   0x6
 

Definition at line 42 of file machostruc.h.

#define MH_DYLINKER   0x7
 

Definition at line 43 of file machostruc.h.

#define MH_EXECUTE   0x2
 

Definition at line 38 of file machostruc.h.

#define MH_FVMLIB   0x3
 

Definition at line 39 of file machostruc.h.

#define MH_INCRLINK   0x2
 

Definition at line 48 of file machostruc.h.

#define MH_NOUNDEFS   0x1
 

Definition at line 47 of file machostruc.h.

#define MH_OBJECT   0x1
 

Definition at line 37 of file machostruc.h.

#define MH_PREBOUND   0x10
 

Definition at line 51 of file machostruc.h.

#define MH_PRELOAD   0x5
 

Definition at line 41 of file machostruc.h.

#define SG_FVMLIB   0x2
 

Definition at line 92 of file machostruc.h.

#define SG_HIGHVM   0x1
 

Definition at line 91 of file machostruc.h.

#define SG_NORELOC   0x4
 

Definition at line 93 of file machostruc.h.

#define THREAD_STATE_NONE   7
 

Definition at line 239 of file machostruc.h.

#define THREAD_SYSCALL_STATE   6
 

Definition at line 238 of file machostruc.h.


Variable Documentation

byte MACHO_COMMAND_struct[]
 

Definition at line 462 of file machostruc.h.

Referenced by ht_macho::init().

byte MACHO_HEADER_struct[]
 

Definition at line 461 of file machostruc.h.

Referenced by ht_macho::init().

byte MACHO_I386_THREAD_STATE_struct[]
 

Definition at line 467 of file machostruc.h.

Referenced by ht_macho::init().

byte MACHO_PPC_THREAD_STATE_struct[]
 

Definition at line 466 of file machostruc.h.

Referenced by ht_macho::init().

byte MACHO_SECTION_struct[]
 

Definition at line 464 of file machostruc.h.

Referenced by ht_macho::init().

byte MACHO_SEGMENT_COMMAND_struct[]
 

Definition at line 463 of file machostruc.h.

Referenced by ht_macho::init().

byte MACHO_SYMTAB_COMMAND_struct[]
 

Definition at line 468 of file machostruc.h.

Referenced by ht_macho::init().

byte MACHO_SYMTAB_NLIST_struct[]
 

Definition at line 469 of file machostruc.h.

Referenced by MachoAnalyser::beginAnalysis().

byte MACHO_THREAD_COMMAND_struct[]
 

Definition at line 465 of file machostruc.h.

Referenced by ht_macho::init().


Generated on Fri May 7 21:15:51 2004 by doxygen 1.3.5