ROSE 0.11.145.147
Classes | Typedefs | Functions | Variables
Rose::BinaryAnalysis::Unparser Namespace Reference

Description

Generates pseudo-assembly listings.

Classes

class  ArrowMargin
 State associated with printing arrows in the margin. More...
 
class  Base
 Abstract base class for unparsers. More...
 
class  Cil
 Unparser for CIL. More...
 
struct  CilSettings
 Settings specific to the Cil unaprser. More...
 
class  EdgeArrows
 Analysis to generate arrows from one basic block to another. More...
 
class  Jvm
 Unparser for the JVM architecture. More...
 
struct  JvmSettings
 Settings specific to the JVM unparser. More...
 
class  M68k
 Unparser for Motorola M68k and related instruction sets. More...
 
struct  M68kSettings
 Settings specific to the M68k unparser. More...
 
class  Mips
 Unparser for the MIPS instruction set. More...
 
struct  MipsSettings
 Settings specific to the MIP unparser. More...
 
class  Null
 Unparser for null architecture. More...
 
struct  NullSettings
 Settings specific to the null unparser. More...
 
class  Powerpc
 Unparser for PowerPC instruction sets. More...
 
struct  PowerpcSettings
 Settings specific to the PowerPC unparser. More...
 
struct  Settings
 Settings that control unparsing. More...
 
class  State
 State for unparsing. More...
 
struct  Style
 Style of text. More...
 
class  StyleGuard
 Pushes a style and arranges for it to be popped later. More...
 
class  StyleStack
 Stack of styles. More...
 
class  X86
 Unparser for x86 instruction sets. More...
 
struct  X86Settings
 Settings specific to the x86 unparser. More...
 

Typedefs

typedef std::map< uint64_t, std::string > LabelMap
 Map from address to label.
 
typedef Sawyer::SharedPointer< BaseBasePtr
 

Functions

void initDiagnostics ()
 
std::string invalidRegister (SgAsmInstruction *, RegisterDescriptor, const RegisterDictionaryPtr &)
 Constructs a string to describe the invalid register.
 
std::string unparseCilMnemonic (SgAsmCilInstruction *)
 
std::string unparseCilExpression (SgAsmExpression *, const LabelMap *)
 
std::string unparseJvmMnemonic (SgAsmJvmInstruction *)
 
std::string unparseJvmExpression (SgAsmExpression *, const LabelMap *)
 
std::string unparseM68kMnemonic (SgAsmM68kInstruction *)
 
std::string unparseM68kExpression (SgAsmExpression *, const LabelMap *, RegisterDictionaryPtr)
 
std::string unparseMipsMnemonic (SgAsmMipsInstruction *)
 
std::string unparseMipsRegister (SgAsmInstruction *, RegisterDescriptor, RegisterDictionaryPtr)
 
std::string unparseMipsExpression (SgAsmExpression *, const LabelMap *, const RegisterDictionaryPtr &)
 
std::string unparsePowerpcMnemonic (SgAsmPowerpcInstruction *)
 
std::string unparsePowerpcExpression (SgAsmExpression *, const LabelMap *, const RegisterDictionaryPtr &)
 
Sawyer::CommandLine::SwitchGroup commandLineSwitches (Settings &settings)
 Command-line switches for unparser settings.
 
std::string unparseX86Mnemonic (SgAsmX86Instruction *)
 
std::string unparseX86Register (SgAsmInstruction *, RegisterDescriptor, RegisterDictionaryPtr)
 
std::string unparseX86Register (RegisterDescriptor, const RegisterDictionaryPtr &)
 
std::string unparseX86Expression (SgAsmExpression *, const LabelMap *, const RegisterDictionaryPtr &, bool leaMode)
 
std::string unparseX86Expression (SgAsmExpression *, const LabelMap *, const RegisterDictionaryPtr &)
 

Variables

Sawyer::Message::Facility mlog
 Diagnostic output for unparsing.
 

Typedef Documentation

◆ LabelMap

typedef std::map<uint64_t, std::string> Rose::BinaryAnalysis::Unparser::LabelMap

Map from address to label.

Definition at line 26 of file Unparser/Base.h.

◆ BasePtr

Definition at line 151 of file Unparser/Settings.h.

Function Documentation

◆ invalidRegister()

std::string Rose::BinaryAnalysis::Unparser::invalidRegister ( SgAsmInstruction ,
RegisterDescriptor  ,
const RegisterDictionaryPtr  
)

Constructs a string to describe the invalid register.

May also optionally emit a diagnostic message.