Ghidra Decompiler Analysis Engine
Public Member Functions | List of all members
IfaceAssemblyEmit Class Reference

Disassembly emitter that prints to a console stream. More...

#include <ifacedecomp.hh>

Inheritance diagram for IfaceAssemblyEmit:
Inheritance graph
[legend]
Collaboration diagram for IfaceAssemblyEmit:
Collaboration graph
[legend]

Public Member Functions

virtual void dump (const Address &addr, const string &mnem, const string &body)
 The main disassembly emitting method. More...
 

Detailed Description

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.

Member Function Documentation

◆ dump()

virtual void IfaceAssemblyEmit::dump ( const Address addr,
const string &  mnem,
const string &  body 
)
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.

Parameters
addris the Address of the machine instruction
mnemis the decoded instruction mnemonic
bodyis the decode body (or operands) of the instruction

Implements AssemblyEmit.


The documentation for this class was generated from the following file: