ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DisassemblerX86::ExceptionX86 Class Reference

Same as Disassembler::Exception except with a different constructor for ease of use in DisassemblerX86. More...

Inheritance diagram for DisassemblerX86::ExceptionX86:
Collaboration diagram for DisassemblerX86::ExceptionX86:

Public Member Functions

 ExceptionX86 (const std::string &mesg, const DisassemblerX86 *d)
 
 ExceptionX86 (const std::string &mesg, const DisassemblerX86 *d, size_t bit)
 
- Public Member Functions inherited from Disassembler::Exception
 Exception (const std::string &reason)
 A bare exception not bound to any particular instruction. More...
 
 Exception (const std::string &reason, rose_addr_t ip)
 An exception bound to a virtual address but no raw data or instruction. More...
 
 Exception (const std::string &reason, rose_addr_t ip, const SgUnsignedCharList &raw_data, size_t bit)
 An exception bound to a particular instruction being disassembled. More...
 
 Exception (const std::string &reason, SgAsmInstruction *insn)
 An exception bound to a particular instruction being assembled. More...
 
 ~Exception () throw ()
 
void print (std::ostream &) const
 

Additional Inherited Members

- Public Attributes inherited from Disassembler::Exception
rose_addr_t ip
 Virtual address where failure occurred; zero if no associated instruction. More...
 
SgUnsignedCharList bytes
 Bytes (partial) of failed disassembly, including byte at failure. More...
 
size_t bit
 Bit offset in instruction byte sequence where disassembly failed (bit/8 is the index into the "bytes" list, while bit%8 is the bit within that byte. More...
 
SgAsmInstructioninsn
 Instruction associated with an assembly error. More...
 

Detailed Description

Same as Disassembler::Exception except with a different constructor for ease of use in DisassemblerX86.

This constructor should be used when an exception occurs during disassembly of an instruction; it is not suitable for errors that occur before or after (use superclass constructors for that case).

Definition at line 61 of file DisassemblerX86.h.

Constructor & Destructor Documentation

DisassemblerX86::ExceptionX86::ExceptionX86 ( const std::string &  mesg,
const DisassemblerX86 d 
)
inline

Definition at line 63 of file DisassemblerX86.h.

DisassemblerX86::ExceptionX86::ExceptionX86 ( const std::string &  mesg,
const DisassemblerX86 d,
size_t  bit 
)
inline

Definition at line 66 of file DisassemblerX86.h.


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