decompiler
1.0.0
|
Disassembly emitter that prints to a console stream. More...
#include <ifacedecomp.hh>
Public Member Functions | |
IfaceAssemblyEmit (ostream *val, int4 mp) | |
Constructor. | |
virtual void | dump (const Address &addr, const string &mnem, const string &body) |
The main disassembly emitting method. More... | |
Public Member Functions inherited from ghidra::AssemblyEmit | |
virtual | ~AssemblyEmit (void) |
Virtual destructor. | |
Private Attributes | |
int4 | mnemonicpad |
How much to pad the mnemonic. | |
ostream * | s |
The current stream to write to. | |
Disassembly emitter that prints to a console stream.
An instruction is printed to a stream simply, as an address followed by the mnemonic and then column aligned operands.
|
inlinevirtual |
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 |
Implements ghidra::AssemblyEmit.
References ghidra::Address::printRaw().