Planeshift
macho_utilities.h File Reference
#include <mach-o/loader.h>
#include <mach/thread_status.h>

Go to the source code of this file.

Classes

struct  breakpad_uuid_command
 

Macros

#define CPU_ARCH_ABI64   0x01000000
 
#define CPU_TYPE_POWERPC64   (CPU_TYPE_POWERPC | CPU_ARCH_ABI64)
 
#define CPU_TYPE_X86   CPU_TYPE_I386
 
#define LC_UUID   0x1b /* the uuid */
 

Typedefs

typedef natural_t breakpad_thread_state_data_t[THREAD_STATE_MAX]
 

Functions

void breakpad_swap_mach_header_64 (struct mach_header_64 *mh, enum NXByteOrder target_byte_order)
 
void breakpad_swap_section_64 (struct section_64 *s, uint32_t nsects, enum NXByteOrder target_byte_order)
 
void breakpad_swap_segment_command_64 (struct segment_command_64 *sg, enum NXByteOrder target_byte_order)
 
void breakpad_swap_uuid_command (struct breakpad_uuid_command *uc, enum NXByteOrder target_byte_order)
 

Macro Definition Documentation

#define CPU_ARCH_ABI64   0x01000000

Definition at line 42 of file macho_utilities.h.

#define CPU_TYPE_POWERPC64   (CPU_TYPE_POWERPC | CPU_ARCH_ABI64)

Definition at line 50 of file macho_utilities.h.

#define CPU_TYPE_X86   CPU_TYPE_I386

Definition at line 46 of file macho_utilities.h.

#define LC_UUID   0x1b /* the uuid */

Definition at line 54 of file macho_utilities.h.

Typedef Documentation

typedef natural_t breakpad_thread_state_data_t[THREAD_STATE_MAX]

Definition at line 70 of file macho_utilities.h.

Function Documentation

void breakpad_swap_mach_header_64 ( struct mach_header_64 *  mh,
enum NXByteOrder  target_byte_order 
)
void breakpad_swap_section_64 ( struct section_64 *  s,
uint32_t  nsects,
enum NXByteOrder  target_byte_order 
)
void breakpad_swap_segment_command_64 ( struct segment_command_64 *  sg,
enum NXByteOrder  target_byte_order 
)
void breakpad_swap_uuid_command ( struct breakpad_uuid_command uc,
enum NXByteOrder  target_byte_order 
)