1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/ia32_settings.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +#ifndef IA32_SETTINGS_H 1.5 +#define IA32_SETTINGS_H 1.6 + 1.7 +#include "libdis.h" 1.8 + 1.9 +typedef struct { 1.10 + /* options */ 1.11 + unsigned char endian, /* 0 = big, 1 = little */ 1.12 + wc_byte, /* wildcard byte */ 1.13 + max_insn, /* max insn size */ 1.14 + sz_addr, /* default address size */ 1.15 + sz_oper, /* default operand size */ 1.16 + sz_byte, /* # bits in byte */ 1.17 + sz_word, /* # bytes in machine word */ 1.18 + sz_dword; /* # bytes in machine dword */ 1.19 + unsigned int id_sp_reg, /* id of stack pointer */ 1.20 + id_fp_reg, /* id of frame pointer */ 1.21 + id_ip_reg, /* id of instruction pointer */ 1.22 + id_flag_reg, /* id of flags register */ 1.23 + offset_gen_regs, /* start of general regs */ 1.24 + offset_seg_regs, /* start of segment regs */ 1.25 + offset_fpu_regs; /* start of floating point regs */ 1.26 + /* user-controlled settings */ 1.27 + enum x86_options options; 1.28 +} ia32_settings_t; 1.29 + 1.30 +#endif