#include <arch-x86.h>
Public Member Functions | |
| ia32_instruction (ia32_memacc *_mac=NULL, ia32_condition *_cnd=NULL, ia32_locations *loc_=NULL) | |
| ia32_entry * | getEntry () |
| unsigned int | getSize () const |
| unsigned int | getPrefixCount () const |
| ia32_prefixes * | getPrefix () |
| unsigned int | getLegacyType () const |
| bool | hasRipRelativeData () const |
| const ia32_memacc & | getMac (int which) const |
| const ia32_condition & | getCond () const |
| const ia32_locations & | getLocationInfo () const |
Static Public Member Functions | |
| static COMMON_EXPORT dyn_hash_map< entryID, flagInfo > const & | getFlagTable () |
| static void | initFlagTable (dyn_hash_map< entryID, flagInfo > &) |
Private Attributes | |
| unsigned int | size |
| ia32_prefixes | prf |
| ia32_memacc * | mac |
| ia32_condition * | cond |
| ia32_entry * | entry |
| ia32_locations * | loc |
| unsigned int | legacy_type |
| bool | rip_relative_data |
Friends | |
| unsigned int | ia32_decode_operands (const ia32_prefixes &pref, const ia32_entry &gotit, const char *addr, ia32_instruction &instruct) |
| COMMON_EXPORT ia32_instruction & | ia32_decode (unsigned int capa, const unsigned char *addr, ia32_instruction &instruct) |
| unsigned int | ia32_decode_operands (const ia32_prefixes &pref, const ia32_entry &gotit, const unsigned char *addr, ia32_instruction &instruct, ia32_memacc *mac=NULL) |
| ia32_instruction & | ia32_decode_FP (const ia32_prefixes &pref, const unsigned char *addr, ia32_instruction &instruct) |
| unsigned int | ia32_emulate_old_type (ia32_instruction &instruct) |
| ia32_instruction & | ia32_decode_FP (unsigned int opcode, const ia32_prefixes &pref, const unsigned char *addr, ia32_instruction &instruct, ia32_entry *entry, ia32_memacc *mac=NULL) |
Definition at line 644 of file arch-x86.h.
| NS_x86::ia32_instruction::ia32_instruction | ( | ia32_memacc * | _mac = NULL, |
|
| ia32_condition * | _cnd = NULL, |
|||
| ia32_locations * | loc_ = NULL | |||
| ) | [inline] |
Definition at line 676 of file arch-x86.h.
| const ia32_condition& NS_x86::ia32_instruction::getCond | ( | ) | const [inline] |
Definition at line 687 of file arch-x86.h.
References cond.
| ia32_entry* NS_x86::ia32_instruction::getEntry | ( | ) | [inline] |
Definition at line 680 of file arch-x86.h.
Referenced by NS_x86::instruction::getStackDelta(), NS_x86::instruction::getUsedRegs(), and NS_x86::instruction::isNop().
| COMMON_EXPORT dyn_hash_map< entryID, flagInfo > const & NS_x86::ia32_instruction::getFlagTable | ( | ) | [static] |
Definition at line 821 of file arch-x86.C.
References initFlagTable().
| unsigned int NS_x86::ia32_instruction::getLegacyType | ( | ) | const [inline] |
Definition at line 684 of file arch-x86.h.
References legacy_type.
| const ia32_locations& NS_x86::ia32_instruction::getLocationInfo | ( | ) | const [inline] |
Definition at line 688 of file arch-x86.h.
References loc.
| const ia32_memacc& NS_x86::ia32_instruction::getMac | ( | int | which | ) | const [inline] |
Definition at line 686 of file arch-x86.h.
References mac.
| ia32_prefixes* NS_x86::ia32_instruction::getPrefix | ( | ) | [inline] |
Definition at line 683 of file arch-x86.h.
References prf.
Referenced by NS_x86::instruction::getUsedRegs().
| unsigned int NS_x86::ia32_instruction::getPrefixCount | ( | ) | const [inline] |
Definition at line 682 of file arch-x86.h.
References NS_x86::ia32_prefixes::getCount(), and prf.
Referenced by NS_x86::get_instruction().
| unsigned int NS_x86::ia32_instruction::getSize | ( | ) | const [inline] |
Definition at line 681 of file arch-x86.h.
References size.
Referenced by NS_x86::get_instruction().
| bool NS_x86::ia32_instruction::hasRipRelativeData | ( | ) | const [inline] |
Definition at line 685 of file arch-x86.h.
References rip_relative_data.
Referenced by NS_x86::ia32_emulate_old_type().
| void NS_x86::ia32_instruction::initFlagTable | ( | dyn_hash_map< entryID, flagInfo > & | flagTable | ) | [static] |
Definition at line 831 of file arch-x86.C.
References e_aaa, e_aad, e_aam, e_aas, e_adc, e_add, e_and, e_arpl, e_bsf, e_bsr, e_bt, e_btc, e_btr, e_bts, e_clc, e_cld, e_cli, e_cmc, e_cmovbe, e_cmove, e_cmovnae, e_cmovnb, e_cmovnbe, e_cmovne, e_cmovng, e_cmovnge, e_cmovnl, e_cmovno, e_cmovns, e_cmovo, e_cmovpe, e_cmovpo, e_cmovs, e_cmp, e_cmpsb, e_cmpsd, e_cmpss, e_cmpsw, e_cmpxch, e_cmpxch8b, e_comisd, e_comiss, e_daa, e_das, e_dec, e_div, e_idiv, e_imul, e_inc, e_insb, e_insd, e_insw, e_int, e_int3, e_int80, e_into, e_iret, e_jb, e_jb_jnaej_j, e_jbe, e_jl, e_jle, e_jnb, e_jnb_jae_j, e_jnbe, e_jnl, e_jnle, e_jno, e_jnp, e_jns, e_jnz, e_jo, e_jp, e_js, e_jz, e_lar, e_lodsb, e_lodsd, e_lodsw, e_loope, e_loopn, e_lsl, e_mul, e_neg, e_or, e_outsb, e_outsd, e_outsw, e_pcmpestri, e_pcmpestrm, e_pcmpistri, e_pcmpistrm, e_popcnt, e_popf, e_popfd, e_ptest, e_rcl, e_rcr, e_rol, e_ror, e_rsm, e_sahf, e_salc, e_sar, e_sbb, e_scasb, e_scasd, e_scasw, e_setb, e_setbe, e_setl, e_setle, e_setnb, e_setnbe, e_setnl, e_setnle, e_setno, e_setnp, e_setns, e_setnz, e_seto, e_setp, e_sets, e_setz, e_shl_sal, e_shld, e_shr, e_shrd, e_stc, e_std, e_sti, e_stosb, e_stosd, e_stosw, e_sub, e_test, e_ucomisd, e_ucomiss, e_verr, e_verw, e_xadd, and e_xor.
Referenced by getFlagTable().
| COMMON_EXPORT ia32_instruction& ia32_decode | ( | unsigned int | capa, | |
| const unsigned char * | addr, | |||
| ia32_instruction & | instruct | |||
| ) | [friend] |
| ia32_instruction& ia32_decode_FP | ( | unsigned int | opcode, | |
| const ia32_prefixes & | pref, | |||
| const unsigned char * | addr, | |||
| ia32_instruction & | instruct, | |||
| ia32_entry * | entry, | |||
| ia32_memacc * | mac = NULL | |||
| ) | [friend] |
| ia32_instruction& ia32_decode_FP | ( | const ia32_prefixes & | pref, | |
| const unsigned char * | addr, | |||
| ia32_instruction & | instruct | |||
| ) | [friend] |
| unsigned int ia32_decode_operands | ( | const ia32_prefixes & | pref, | |
| const ia32_entry & | gotit, | |||
| const unsigned char * | addr, | |||
| ia32_instruction & | instruct, | |||
| ia32_memacc * | mac = NULL | |||
| ) | [friend] |
| unsigned int ia32_decode_operands | ( | const ia32_prefixes & | pref, | |
| const ia32_entry & | gotit, | |||
| const char * | addr, | |||
| ia32_instruction & | instruct | |||
| ) | [friend] |
| unsigned int ia32_emulate_old_type | ( | ia32_instruction & | instruct | ) | [friend] |
ia32_condition* NS_x86::ia32_instruction::cond [private] |
Definition at line 668 of file arch-x86.h.
Referenced by getCond(), and NS_x86::ia32_decode().
ia32_entry* NS_x86::ia32_instruction::entry [private] |
Definition at line 669 of file arch-x86.h.
Referenced by NS_x86::ia32_decode(), and NS_x86::ia32_decode_FP().
unsigned int NS_x86::ia32_instruction::legacy_type [private] |
Definition at line 671 of file arch-x86.h.
Referenced by getLegacyType(), NS_x86::ia32_decode(), NS_x86::ia32_decode_FP(), and NS_x86::ia32_emulate_old_type().
ia32_locations* NS_x86::ia32_instruction::loc [private] |
Definition at line 670 of file arch-x86.h.
Referenced by getLocationInfo(), NS_x86::ia32_decode(), NS_x86::ia32_decode_FP(), and NS_x86::ia32_decode_operands().
ia32_memacc* NS_x86::ia32_instruction::mac [private] |
Definition at line 667 of file arch-x86.h.
Referenced by getMac(), and NS_x86::ia32_decode().
ia32_prefixes NS_x86::ia32_instruction::prf [private] |
Definition at line 666 of file arch-x86.h.
Referenced by getPrefix(), getPrefixCount(), NS_x86::ia32_decode(), and NS_x86::ia32_emulate_old_type().
bool NS_x86::ia32_instruction::rip_relative_data [private] |
Definition at line 672 of file arch-x86.h.
Referenced by hasRipRelativeData(), NS_x86::ia32_decode_FP(), and NS_x86::ia32_decode_operands().
unsigned int NS_x86::ia32_instruction::size [private] |
Definition at line 665 of file arch-x86.h.
Referenced by getSize(), NS_x86::ia32_decode(), NS_x86::ia32_decode_FP(), and NS_x86::ia32_decode_operands().
1.6.1