#include <asm.h>
Inheritance diagram for Disassembler:
Public Member Functions | |
Disassembler () | |
~Disassembler () | |
virtual dis_insn * | createInvalidInsn () |
virtual dis_insn * | decode (byte *code, int maxlen, CPU_ADDR cur_address)=0 |
virtual dis_insn * | duplicateInsn (dis_insn *disasm_insn)=0 |
virtual void | getOpcodeMetrics (int &min_length, int &max_length, int &min_look_ahead, int &avg_look_ahead, int &addr_align)=0 |
virtual byte | getSize (dis_insn *disasm_insn)=0 |
virtual char * | getName ()=0 |
virtual bool | selectNext (dis_insn *disasm_insn) |
virtual char * | str (dis_insn *disasm_insn, int style) |
virtual char * | strf (dis_insn *disasm_insn, int style, char *format)=0 |
virtual bool | validInsn (dis_insn *disasm_insn)=0 |
Protected Member Functions | |
const char * | get_cs (AsmSyntaxHighlightEnum style) |
void | hexd (char **s, int size, int options, int imm) |
void | enable_highlighting () |
void | disable_highlighting () |
Protected Attributes | |
int | options |
bool | highlight |
|
Definition at line 192 of file asm.cc. References disable_highlighting(). |
|
|
|
|
|
|
Definition at line 265 of file asm.cc. References highlight. Referenced by Disassembler(), x86dis::strf(), PPCDisassembler::strf(), javadis::strf(), ILDisassembler::strf(), IA64Disassembler::strf(), and Alphadis::strf(). |
|
Implemented in Alphadis, IA64Disassembler, ILDisassembler, javadis, PPCDisassembler, and x86dis. Referenced by Analyser::continueAnalysis(). |
|
Definition at line 260 of file asm.cc. References highlight. Referenced by x86dis::strf(), PPCDisassembler::strf(), javadis::strf(), ILDisassembler::strf(), IA64Disassembler::strf(), and Alphadis::strf(). |
|
Definition at line 248 of file asm.cc. References ASM_SYNTAX_COMMENT, ASM_SYNTAX_DEFAULT, ASM_SYNTAX_NUMBER, ASM_SYNTAX_STRING, ASM_SYNTAX_SYMBOL, and highlight. Referenced by x86dis::str_format(), javadis::str_format(), x86dis::str_op(), javadis::str_op(), PPCDisassembler::strf(), ILDisassembler::strf(), IA64Disassembler::strf(), and Alphadis::strf(). |
|
Implemented in Alphadis, IA64Disassembler, ILDisassembler, javadis, PPCDisassembler, and x86dis. Referenced by AnalyserInformation::idle(). |
|
Implemented in Alphadis, IA64Disassembler, ILDisassembler, javadis, PPCDisassembler, and x86dis. Referenced by ht_disasm_sub::prev_line_id(), AnalyserOutput::prevLine(), and Analyser::setDisasm(). |
|
|
Definition at line 209 of file asm.cc. References DIS_STYLE_HEX_ASMSTYLE, DIS_STYLE_HEX_CSTYLE, DIS_STYLE_HEX_NOZEROPAD, DIS_STYLE_HEX_UPPERCASE, DIS_STYLE_SIGNED, options, and size. Referenced by x86dis::str_op(), and javadis::str_op(). |
|
Reimplemented in IA64Disassembler. Definition at line 238 of file asm.cc. References dis_insn. Referenced by Analyser::continueAnalysis(), and AnalyserOutput::generateAddr(). |
|
Reimplemented in Alphadis, IA64Disassembler, ILDisassembler, javadis, PPCDisassembler, and x86dis. Definition at line 243 of file asm.cc. References dis_insn, DISASM_STRF_DEFAULT_FORMAT, and strf(). Referenced by Analyser::continueAnalysis(), AnalyserOutput::generateAddr(), and ht_disasm_sub::getline(). |
|
Implemented in Alphadis, IA64Disassembler, ILDisassembler, javadis, PPCDisassembler, and x86dis. Referenced by dialog_assemble(), Analyser::getDisasmStr(), Analyser::getDisasmStrFormatted(), ht_disasm_viewer::handlemsg(), and str(). |
|
Implemented in Alphadis, IA64Disassembler, ILDisassembler, javadis, PPCDisassembler, and x86dis. Referenced by Analyser::continueAnalysis(), and Analyser::dataAccess(). |
|
Definition at line 118 of file asm.h. Referenced by disable_highlighting(), enable_highlighting(), and get_cs(). |
|
|