diff options
Diffstat (limited to 'include/klee/Solver.h')
-rw-r--r-- | include/klee/Solver.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/include/klee/Solver.h b/include/klee/Solver.h index fed6191a..c82ab135 100644 --- a/include/klee/Solver.h +++ b/include/klee/Solver.h @@ -225,7 +225,24 @@ namespace klee { }; #endif // ENABLE_STP - +#ifdef ENABLE_Z3 + /// Z3Solver - A solver complete solver based on Z3 + class Z3Solver : public Solver { + public: + /// Z3Solver - Construct a new Z3Solver. + Z3Solver(); + + /// Get the query in SMT-LIBv2 format. + /// \return A C-style string. The caller is responsible for freeing this. + virtual char *getConstraintLog(const Query &); + + /// setCoreSolverTimeout - Set constraint solver timeout delay to the given + /// value; 0 + /// is off. + virtual void setCoreSolverTimeout(double timeout); + }; +#endif // ENABLE_Z3 + #ifdef ENABLE_METASMT template<typename SolverContext> |