diff options
author | Dan Liew <delcypher@gmail.com> | 2016-09-29 21:04:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 21:04:27 +0100 |
commit | 96b77a4a211745cdee375b38ce4313dfc70efe8f (patch) | |
tree | c2bbce1f697a31d9b8c8716cf765b651b266185a /include | |
parent | a936dcbaefe0efa67e97f4ea14893bdae63db99b (diff) | |
download | klee-96b77a4a211745cdee375b38ce4313dfc70efe8f.tar.gz |
Fix bug in `AssignmentEvaluator` where NotOptimizedExpr would not (#466)
* Add unittest to check that the `Assignment` class can evaluate expressions containing a `NotOptimizedExpr`. * Fix the `AssignmentTest.FoldNotOptimized` unit test by teaching the `ExprEvaluator` to fold `NotOptimizedExpr` nodes.
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/util/ExprEvaluator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/klee/util/ExprEvaluator.h b/include/klee/util/ExprEvaluator.h index 6b67a1cf..313ac0a5 100644 --- a/include/klee/util/ExprEvaluator.h +++ b/include/klee/util/ExprEvaluator.h @@ -25,6 +25,7 @@ namespace klee { Action visitSDiv(const SDivExpr &e); Action visitURem(const URemExpr &e); Action visitSRem(const SRemExpr &e); + Action visitExprPost(const Expr& e); public: ExprEvaluator() {} |