#include <alphadis.h>
Inheritance diagram for Alphadis:
Public Member Functions | |
Alphadis () | |
virtual | ~Alphadis () |
int | load (ht_object_stream *f) |
virtual dis_insn * | decode (byte *code, int maxlen, CPU_ADDR addr) |
virtual dis_insn * | duplicateInsn (dis_insn *disasm_insn) |
virtual void | getOpcodeMetrics (int &min_length, int &max_length, int &min_look_ahead, int &avg_look_ahead, int &addr_align) |
virtual byte | getSize (dis_insn *disasm_insn) |
virtual char * | getName () |
virtual void | store (ht_object_stream *f) |
virtual char * | str (dis_insn *disasm_insn, int style) |
virtual char * | strf (dis_insn *disasm_insn, int style, char *format) |
virtual OBJECT_ID | object_id () const |
virtual bool | validInsn (dis_insn *disasm_insn) |
Protected Attributes | |
char | insnstr [256] |
alphadis_insn | insn |
|
Definition at line 62 of file alphadis.cc. References insn, and alphadis_insn::valid. |
|
Definition at line 67 of file alphadis.cc. |
|
|
Implements Disassembler. Definition at line 247 of file alphadis.cc. |
|
Implements Disassembler. Definition at line 263 of file alphadis.cc. |
|
Implements Disassembler. Definition at line 254 of file alphadis.cc. |
|
Implements Disassembler. Definition at line 268 of file alphadis.cc. |
|
loads object from object stream.
Reimplemented from Object. Definition at line 71 of file alphadis.cc. References Object::load(). |
|
Reimplemented from Object. Definition at line 273 of file alphadis.cc. References ATOM_DISASM_ALPHA. |
|
stores object. Reimplemented from Object. Definition at line 278 of file alphadis.cc. References Object::store(). |
|
Reimplemented from Disassembler. Definition at line 283 of file alphadis.cc. |
|
Implements Disassembler. Definition at line 293 of file alphadis.cc. References A_NAME, A_REG_A, A_REG_B, A_REG_C, CPU_ADDR::addr32, addr_sym_func, addr_sym_func_context, ALPHA_GROUP1, ALPHA_GROUP2, ALPHA_GROUP3, ALPHA_GROUP4, ALPHA_GROUP_BRA, ALPHA_GROUP_F2I, ALPHA_GROUP_FBR, ALPHA_GROUP_FLD, ALPHA_GROUP_FST, ALPHA_GROUP_I2F, ALPHA_GROUP_JMP, ALPHA_GROUP_PAL, assert, alphadis_insn::code, alphadis_insn::data, dis_insn, DIS_STYLE_HIGHLIGHT, Disassembler::disable_highlighting(), dword, e_cs_default, e_cs_number, e_cs_symbol, Disassembler::enable_highlighting(), Disassembler::get_cs(), insnstr, REG_LIT, alphadis_insn::regB, alphadis_insn::size, alphadis_insn::table, and alphadis_insn::valid. Referenced by str(). |
|
Implements Disassembler. Definition at line 389 of file alphadis.cc. References dis_insn. |
|
Definition at line 46 of file alphadis.h. Referenced by Alphadis(), decode(), and duplicateInsn(). |
|
Definition at line 45 of file alphadis.h. Referenced by strf(). |