diff options
author | ahorn <alex.horn@cs.ox.ac.uk> | 2014-05-12 15:13:56 +0100 |
---|---|---|
committer | ahorn <alex.horn@cs.ox.ac.uk> | 2014-05-12 15:13:56 +0100 |
commit | 4046c8e7cbd5b9db8562344c21c15c3db6248e7d (patch) | |
tree | 39745a067fd1170972f6da44422e1affe37218be /lib/Core/Executor.cpp | |
parent | d10513097420196493b4a408c6cf75cbd53b8351 (diff) | |
download | klee-4046c8e7cbd5b9db8562344c21c15c3db6248e7d.tar.gz |
Add SimplifyExpressions command line option
Allow users to bypass ConstraintManager::simplifyExpr(ref<Expr>).
Diffstat (limited to 'lib/Core/Executor.cpp')
-rw-r--r-- | lib/Core/Executor.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index abb023eb..fb1a6698 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -164,6 +164,11 @@ namespace { SimplifySymIndices("simplify-sym-indices", cl::init(false)); + cl::opt<bool> + SimplifyExpressions("simplify-expressions", + cl::init(true), + cl::desc("Simplify symbolic expressions before querying the solver (default=on).")); + cl::opt<unsigned> MaxSymArraySize("max-sym-array-size", cl::init(0)); @@ -333,7 +338,7 @@ Executor::Executor(const InterpreterOptions &opts, interpreterHandler->getOutputFilename(ALL_QUERIES_PC_FILE_NAME), interpreterHandler->getOutputFilename(SOLVER_QUERIES_PC_FILE_NAME)); - this->solver = new TimingSolver(solver); + this->solver = new TimingSolver(solver, SimplifyExpressions); memory = new MemoryManager(); } |