diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-04-03 17:55:58 +0100 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2020-04-30 09:25:36 +0100 |
commit | 382de941118c12434410df0c5d4e1ecd28e4636f (patch) | |
tree | f113d764154ca85a7b3afb58efa2a314ee59c419 /lib/Expr/AssignmentGenerator.h | |
parent | 7d85ee81dcf23e841ef794fa6ba08a076dcdebf0 (diff) | |
download | klee-382de941118c12434410df0c5d4e1ecd28e4636f.tar.gz |
Move header files from lib/Expr to include/klee/Expr to eliminate includes using "../"
Diffstat (limited to 'lib/Expr/AssignmentGenerator.h')
-rw-r--r-- | lib/Expr/AssignmentGenerator.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/lib/Expr/AssignmentGenerator.h b/lib/Expr/AssignmentGenerator.h deleted file mode 100644 index 173b863e..00000000 --- a/lib/Expr/AssignmentGenerator.h +++ /dev/null @@ -1,59 +0,0 @@ -//===-- AssignmentGenerator.h ---------------------------------------------===// -// -// The KLEE Symbolic Virtual Machine -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef KLEE_ASSIGNMENTGENERATOR_H -#define KLEE_ASSIGNMENTGENERATOR_H - -#include "klee/Expr/Expr.h" -#include "klee/util/Ref.h" - -#include <vector> - -namespace klee { -class Assignment; -} /* namespace klee */ - -namespace klee { - -class Expr; -template <class T> class ref; - -class AssignmentGenerator { -public: - static bool generatePartialAssignment(const ref<Expr> &e, ref<Expr> &val, - Assignment *&a); - -private: - static bool helperGenerateAssignment(const ref<Expr> &e, ref<Expr> &val, - Assignment *&a, Expr::Width width, - bool sign); - - static bool isReadExprAtOffset(ref<Expr> e, const ReadExpr *base, - ref<Expr> offset); - static ReadExpr *hasOrderedReads(ref<Expr> e); - - static ref<Expr> createSubExpr(const ref<Expr> &l, ref<Expr> &r); - static ref<Expr> createAddExpr(const ref<Expr> &l, ref<Expr> &r); - static ref<Expr> createMulExpr(const ref<Expr> &l, ref<Expr> &r); - static ref<Expr> createDivExpr(const ref<Expr> &l, ref<Expr> &r, bool sign); - static ref<Expr> createDivRem(const ref<Expr> &l, ref<Expr> &r, bool sign); - static ref<Expr> createShlExpr(const ref<Expr> &l, ref<Expr> &r); - static ref<Expr> createLShrExpr(const ref<Expr> &l, ref<Expr> &r); - static ref<Expr> createAndExpr(const ref<Expr> &l, ref<Expr> &r); - static ref<Expr> createExtractExpr(const ref<Expr> &l, ref<Expr> &r); - static ref<Expr> createExtendExpr(const ref<Expr> &l, ref<Expr> &r); - - static std::vector<unsigned char> getByteValue(ref<Expr> &val); - static std::vector<unsigned char> - getIndexedValue(const std::vector<unsigned char> &c_val, ConstantExpr &index, - const unsigned int size); -}; -} // namespace klee - -#endif /* KLEE_ASSIGNMENTGENERATOR_H */ |