toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/ia32_settings.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 #ifndef IA32_SETTINGS_H
michael@0 2 #define IA32_SETTINGS_H
michael@0 3
michael@0 4 #include "libdis.h"
michael@0 5
michael@0 6 typedef struct {
michael@0 7 /* options */
michael@0 8 unsigned char endian, /* 0 = big, 1 = little */
michael@0 9 wc_byte, /* wildcard byte */
michael@0 10 max_insn, /* max insn size */
michael@0 11 sz_addr, /* default address size */
michael@0 12 sz_oper, /* default operand size */
michael@0 13 sz_byte, /* # bits in byte */
michael@0 14 sz_word, /* # bytes in machine word */
michael@0 15 sz_dword; /* # bytes in machine dword */
michael@0 16 unsigned int id_sp_reg, /* id of stack pointer */
michael@0 17 id_fp_reg, /* id of frame pointer */
michael@0 18 id_ip_reg, /* id of instruction pointer */
michael@0 19 id_flag_reg, /* id of flags register */
michael@0 20 offset_gen_regs, /* start of general regs */
michael@0 21 offset_seg_regs, /* start of segment regs */
michael@0 22 offset_fpu_regs; /* start of floating point regs */
michael@0 23 /* user-controlled settings */
michael@0 24 enum x86_options options;
michael@0 25 } ia32_settings_t;
michael@0 26
michael@0 27 #endif

mercurial