decompiler  1.0.0
Public Member Functions | List of all members
ghidra::AssemblyEmit Class Referenceabstract

Abstract class for emitting disassembly to an application. More...

#include <translate.hh>

Inheritance diagram for ghidra::AssemblyEmit:
ghidra::IfaceAssemblyEmit

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...
 

Detailed Description

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.

Member Function Documentation

◆ dump()

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

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

Implemented in ghidra::IfaceAssemblyEmit.

Referenced by ghidra::Sleigh::printAssembly().


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