My Project
|
Abstract class for emitting disassembly to an application. More...
#include <translate.hh>
Public Member Functions | |
virtual | ~AssemblyEmit (void) |
Virtual destructor. | |
virtual void | dump (const Address &addr, const string &mnem, const string &body)=0 |
The main disassembly emitting method. More... | |
Abstract class for emitting disassembly to an application.
Translation engines pass back the disassembly character data for decoded machine instructions to an application using this class.
|
pure virtual |
The main disassembly emitting method.
The disassembly strings for a single machine instruction are passed back to an application through this method. Particular applications can tailor the use of the disassembly by overriding this method.
addr | is the Address of the machine instruction |
mnem | is the decoded instruction mnemonic |
body | is the decode body (or operands) of the instruction |
Implemented in AssemblyRaw, and IfaceAssemblyEmit.