ROSE 0.11.145.192
Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::Assembler::Exception Class Reference

Description

Exception thrown by the assemblers.

Definition at line 61 of file Assembler.h.

#include <frontend/Disassemblers/Assembler.h>

Inheritance diagram for Rose::BinaryAnalysis::Assembler::Exception:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::Assembler::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (const std::string &reason, SgAsmInstruction *insn)
 An exception bound to a particular instruction being assembled.
 
 Exception (const std::string &reason)
 An exception not bound to a particular instruction.
 
void print (std::ostream &) const
 
- Public Member Functions inherited from Rose::Exception
 Exception (const std::string &s)
 Construct an exception with an error message.
 

Public Attributes

SgAsmInstructioninsn
 Instruction associated with an assembly error.
 

Constructor & Destructor Documentation

◆ Exception() [1/2]

Rose::BinaryAnalysis::Assembler::Exception::Exception ( const std::string &  reason,
SgAsmInstruction insn 
)
inline

An exception bound to a particular instruction being assembled.

Definition at line 64 of file Assembler.h.

◆ Exception() [2/2]

Rose::BinaryAnalysis::Assembler::Exception::Exception ( const std::string &  reason)
inline

An exception not bound to a particular instruction.

Definition at line 68 of file Assembler.h.

Member Data Documentation

◆ insn

SgAsmInstruction* Rose::BinaryAnalysis::Assembler::Exception::insn

Instruction associated with an assembly error.

Definition at line 74 of file Assembler.h.


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