ROSE 0.11.145.192
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
 Renders textual margin arrows. 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 unparseJvmMnemonic (SgAsmJvmInstruction *)
 
std::string unparseJvmExpression (SgAsmExpression *, const LabelMap *)
 
Sawyer::CommandLine::SwitchGroup commandLineSwitches (Settings &settings)
 Command-line switches for unparser settings.
 

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