ROSE  0.11.145.0
Public Member Functions | Public Attributes | Friends | 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. More...
 
 Exception (const std::string &reason)
 An exception not bound to a particular instruction. More...
 
void print (std::ostream &) const
 
- Public Member Functions inherited from Rose::Exception
 Exception (const std::string &s)
 Construct an exception with an error message. More...
 

Public Attributes

SgAsmInstructioninsn
 Instruction associated with an assembly error. More...
 

Friends

std::ostream & operator<< (std::ostream &, const Exception &)
 

Constructor & Destructor Documentation

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.

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

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: