diff options
-rw-r--r-- | include/klee/Solver.h | 4 | ||||
-rw-r--r-- | lib/Core/TimingSolver.h | 2 | ||||
-rw-r--r-- | lib/Expr/Parser.cpp | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/include/klee/Solver.h b/include/klee/Solver.h index 2d4fa044..a053050d 100644 --- a/include/klee/Solver.h +++ b/include/klee/Solver.h @@ -65,7 +65,7 @@ namespace klee { public: Solver(SolverImpl *_impl) : impl(_impl) {}; - ~Solver(); + virtual ~Solver(); /// evaluate - Determine the full validity of an expression in particular /// state. @@ -158,6 +158,8 @@ namespace klee { /// \param useForkedSTP - Whether STP should be run in a separate process /// (required for using timeouts). STPSolver(bool useForkedSTP); + + /// getConstraintLog - Return the constraint log for the given state in CVC /// format. diff --git a/lib/Core/TimingSolver.h b/lib/Core/TimingSolver.h index 875216d9..b92cfc32 100644 --- a/lib/Core/TimingSolver.h +++ b/lib/Core/TimingSolver.h @@ -37,7 +37,7 @@ namespace klee { TimingSolver(Solver *_solver, STPSolver *_stpSolver, bool _simplifyExprs = true) : solver(_solver), stpSolver(_stpSolver), simplifyExprs(_simplifyExprs) {} - ~TimingSolver() { + virtual ~TimingSolver() { delete solver; } diff --git a/lib/Expr/Parser.cpp b/lib/Expr/Parser.cpp index f5708384..dba089a5 100644 --- a/lib/Expr/Parser.cpp +++ b/lib/Expr/Parser.cpp @@ -22,6 +22,7 @@ #include <cassert> #include <iostream> #include <map> +#include <cstring> using namespace llvm; using namespace klee; |