19#include "llvm/Support/raw_ostream.h"
24 std::string querySMT2LogPath,
25 std::string baseSolverQuerySMT2LogPath,
26 std::string queryKQueryLogPath,
27 std::string baseSolverQueryKQueryLogPath) {
28 Solver *solver = coreSolver;
33 klee_message(
"Logging queries that reach solver in .kquery format to %s\n",
34 baseSolverQueryKQueryLogPath.c_str());
39 klee_message(
"Logging queries that reach solver in .smt2 format to %s\n",
40 baseSolverQuerySMT2LogPath.c_str());
63 klee_message(
"Logging all queries in .kquery format to %s\n",
64 queryKQueryLogPath.c_str());
69 klee_message(
"Logging all queries in .smt2 format to %s\n",
70 querySMT2LogPath.c_str());
Solver * createCachingSolver(Solver *s)
Solver * constructSolverChain(Solver *coreSolver, std::string querySMT2LogPath, std::string baseSolverQuerySMT2LogPath, std::string queryKQueryLogPath, std::string baseSolverQueryKQueryLogPath)
Solver * createValidatingSolver(Solver *s, Solver *oracle)
llvm::cl::opt< bool > UseFastCexSolver
llvm::cl::opt< bool > LogTimedOutQueries
llvm::cl::opt< bool > DebugValidateSolver
void klee_message(const char *msg,...) __attribute__((format(printf
llvm::cl::opt< std::string > MinQueryTimeToLog
Solver * createKQueryLoggingSolver(Solver *s, std::string path, time::Span minQueryTimeToLog, bool logTimedOut)
@ SOLVER_SMTLIB
Log queries passed to solver in .smt2 (SMT-LIBv2) format.
@ SOLVER_KQUERY
Log queries passed to solver in .kquery (KQuery) format.
@ ALL_SMTLIB
Log all queries .smt2 (SMT-LIBv2) format.
@ ALL_KQUERY
Log all queries in .kquery (KQuery) format.
llvm::cl::opt< CoreSolverType > DebugCrossCheckCoreSolverWith
Solver * createAssignmentValidatingSolver(Solver *s)
Solver * createCexCachingSolver(Solver *s)
Solver * createFastCexSolver(Solver *s)
Solver * createCoreSolver(CoreSolverType cst)
llvm::cl::opt< bool > UseAssignmentValidatingSolver
llvm::cl::opt< bool > UseIndependentSolver
Solver * createIndependentSolver(Solver *s)
Solver * createSMTLIBLoggingSolver(Solver *s, std::string path, time::Span minQueryTimeToLog, bool logTimedOut)
llvm::cl::opt< bool > UseCexCache
llvm::cl::bits< QueryLoggingSolverType > QueryLoggingOptions
llvm::cl::opt< bool > UseBranchCache