diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/util/ExprUtil.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/klee/util/ExprUtil.h b/include/klee/util/ExprUtil.h index a81c299f..0860d0a5 100644 --- a/include/klee/util/ExprUtil.h +++ b/include/klee/util/ExprUtil.h @@ -10,6 +10,7 @@ #ifndef KLEE_EXPRUTIL_H #define KLEE_EXPRUTIL_H +#include "klee/util/ExprVisitor.h" #include <vector> namespace klee { @@ -38,6 +39,13 @@ namespace klee { InputIterator end, std::vector<const Array*> &results); + class ConstantArrayFinder : public ExprVisitor { + protected: + ExprVisitor::Action visitRead(const ReadExpr &re); + + public: + std::set<const Array *> results; + }; } #endif |