1 #ifndef ROSE_BinaryAnalysis_ModelChecker_OutOfBoundsTag_H
2 #define ROSE_BinaryAnalysis_ModelChecker_OutOfBoundsTag_H
3 #include <featureTests.h>
4 #ifdef ROSE_ENABLE_MODEL_CHECKER
6 #include <Rose/BinaryAnalysis/ModelChecker/Tag.h>
7 #include <Rose/BinaryAnalysis/ModelChecker/Variables.h>
8 #include <Rose/BinaryAnalysis/InstructionSemantics/BaseSemantics/BasicTypes.h>
9 #include <Rose/BinaryAnalysis/Variables.h>
12 namespace BinaryAnalysis {
13 namespace ModelChecker {
16 class OutOfBoundsTag:
public Tag {
18 using Ptr = OutOfBoundsTagPtr;
25 const FoundVariable intendedVariable_;
26 const FoundVariable accessedVariable_;
29 OutOfBoundsTag() =
delete;
32 const FoundVariable &intendedVariable,
const FoundVariable &accessedVariable);
34 OutOfBoundsTag(
const OutOfBoundsTag&) =
delete;
51 const FoundVariable &intendedVariable,
const FoundVariable &accessedVariable);
54 virtual std::string name()
const override;
55 virtual std::string printableName()
const override;
56 virtual void print(std::ostream&,
const std::string &prefix)
const override;
57 virtual void toYaml(std::ostream&,
const std::string &prefix)
const override;
const char * TestMode(int64_t)
Convert Rose::BinaryAnalysis::ModelChecker::TestMode enum constant to a string.
Base class for machine instructions.
const char * IoMode(int64_t)
Convert Rose::BinaryAnalysis::FeasiblePath::IoMode enum constant to a string.
Main namespace for the ROSE library.
void print(const StackVariables &, const Partitioner2::PartitionerConstPtr &, std::ostream &out, const std::string &prefix="")
Print info about multiple local variables.
Sawyer::SharedPointer< SValue > SValuePtr
Shared-ownership pointer to a semantic value in any domain.
Sawyer::SharedPointer< Node > Ptr
Reference counting pointer.