aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHoang M. Le <hle@informatik.uni-bremen.de>2016-10-27 17:50:13 +0200
committerHoang M. Le <hle@informatik.uni-bremen.de>2016-10-27 17:50:13 +0200
commit71214ea259ee62e3484b1ca6ff516a6c2a66fdc2 (patch)
tree4a924a1676a7e7a6038be9d5202d1fbd97d2ed04
parentdac2e7ba3f12c839ae7c69aaec6626fcbe05e7e2 (diff)
downloadklee-71214ea259ee62e3484b1ca6ff516a6c2a66fdc2.tar.gz
update comments
-rw-r--r--lib/Solver/MetaSMTSolver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Solver/MetaSMTSolver.cpp b/lib/Solver/MetaSMTSolver.cpp
index 2dec1873..a34e26d0 100644
--- a/lib/Solver/MetaSMTSolver.cpp
+++ b/lib/Solver/MetaSMTSolver.cpp
@@ -281,6 +281,7 @@ MetaSMTSolverImpl<SolverContext>::runAndGetCexForked(
::alarm(std::max(1, (int)timeout));
}
+ // assert constraints as we are in a child process
for (ConstraintManager::const_iterator it = query.constraints.begin(),
ie = query.constraints.end();
it != ie; ++it) {
@@ -288,9 +289,8 @@ MetaSMTSolverImpl<SolverContext>::runAndGetCexForked(
// assumption(_meta_solver, _builder->construct(*it));
}
- // assume the negation of the query
- // can be also asserted instead of assumed as we are in a child process
- assumption(_meta_solver,
+ // asssert the negation of the query as we are in a child process
+ assertion(_meta_solver,
_builder->construct(Expr::createIsZero(query.expr)));
unsigned res = solve(_meta_solver);