ROSE
0.11.145.192
src
Rose
BinaryAnalysis
InstructionSemantics
BaseSemantics
Rose/BinaryAnalysis/InstructionSemantics/BaseSemantics/Exception.h
1
#ifndef ROSE_BinaryAnalysis_InstructionSemantics_BaseSemantics_Exception_H
2
#define ROSE_BinaryAnalysis_InstructionSemantics_BaseSemantics_Exception_H
3
#include <featureTests.h>
4
#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5
6
#include <Rose/BinaryAnalysis/InstructionSemantics/BaseSemantics/BasicTypes.h>
7
#include <Rose/Exception.h>
8
9
class
SgAsmInstruction
;
10
11
namespace
Rose
{
12
namespace
BinaryAnalysis {
13
namespace
InstructionSemantics {
14
namespace
BaseSemantics
{
15
17
// Exceptions
19
21
class
Exception
:
public
Rose::Exception
{
22
public
:
23
SgAsmInstruction
*insn;
24
Exception
(
const
std::string &mesg,
SgAsmInstruction
*insn):
Rose::Exception
(mesg), insn(insn) {}
25
void
print(std::ostream&)
const
;
26
};
27
28
class
NotImplemented
:
public
Exception
{
29
public
:
30
NotImplemented
(
const
std::string &mesg,
SgAsmInstruction
*insn)
31
:
Exception
(mesg, insn) {}
32
};
33
34
std::ostream& operator<<(std::ostream&,
const
Exception
&);
35
36
}
// namespace
37
}
// namespace
38
}
// namespace
39
}
// namespace
40
41
#endif
42
#endif
Rose::BinaryAnalysis::InstructionSemantics::BaseSemantics::Exception
Base class for exceptions thrown by instruction semantics.
Definition
Rose/BinaryAnalysis/InstructionSemantics/BaseSemantics/Exception.h:21
Rose::BinaryAnalysis::InstructionSemantics::BaseSemantics::NotImplemented
Definition
Rose/BinaryAnalysis/InstructionSemantics/BaseSemantics/Exception.h:28
Rose::Exception
Base class for all ROSE exceptions.
Definition
Rose/Exception.h:10
SgAsmInstruction
Base class for machine instructions.
Definition
binaryInstruction.C:43518
Rose::BinaryAnalysis::InstructionSemantics::BaseSemantics
Base classes for instruction semantics.
Definition
AddressSpace.h:19
Rose
The ROSE library.
Definition
BinaryTutorial.dox:3
Generated on Mon Dec 16 2024 03:17:00 for ROSE by
1.9.8