diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Solver/CexCachingSolver.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Solver/CexCachingSolver.cpp b/lib/Solver/CexCachingSolver.cpp index 8b626c04..fb07a6ec 100644 --- a/lib/Solver/CexCachingSolver.cpp +++ b/lib/Solver/CexCachingSolver.cpp @@ -240,7 +240,11 @@ bool CexCachingSolver::getAssignment(const Query& query, Assignment *&result) { } if (DebugCexCacheCheckBinding) - assert(binding->satisfies(key.begin(), key.end())); + if (!binding->satisfies(key.begin(), key.end())) { + query.dump(); + binding->dump(); + klee_error("Generated assignment doesn't match query"); + } } else { binding = (Assignment*) 0; } |