aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Basic/ConstructSolverChain.cpp
diff options
context:
space:
mode:
authorEric Rizzi <eric.rizzi@gmail.com>2015-09-14 14:32:37 -0400
committerDan Liew <delcypher@gmail.com>2016-11-23 20:36:44 +0000
commitf27cf86466d75c71a302abe5e0a3ffcad1670373 (patch)
treedd598d703d01fc8292afa6cc56816ec822715923 /lib/Basic/ConstructSolverChain.cpp
parent094a21832d94bfaa5da8ea667e646328ca0e5432 (diff)
downloadklee-f27cf86466d75c71a302abe5e0a3ffcad1670373.tar.gz
Renamed .pc to .kquery (kleaver query)
Diffstat (limited to 'lib/Basic/ConstructSolverChain.cpp')
-rw-r--r--lib/Basic/ConstructSolverChain.cpp24
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/Basic/ConstructSolverChain.cpp b/lib/Basic/ConstructSolverChain.cpp
index debb1e9e..68e1b08b 100644
--- a/lib/Basic/ConstructSolverChain.cpp
+++ b/lib/Basic/ConstructSolverChain.cpp
@@ -16,17 +16,18 @@
#include "llvm/Support/raw_ostream.h"
namespace klee {
-Solver *constructSolverChain(Solver *coreSolver, std::string querySMT2LogPath,
+Solver *constructSolverChain(Solver *coreSolver,
+ std::string querySMT2LogPath,
std::string baseSolverQuerySMT2LogPath,
- std::string queryPCLogPath,
- std::string baseSolverQueryPCLogPath) {
+ std::string queryKQueryLogPath,
+ std::string baseSolverQueryKQueryLogPath) {
Solver *solver = coreSolver;
- if (optionIsSet(queryLoggingOptions, SOLVER_PC)) {
- solver = createPCLoggingSolver(solver, baseSolverQueryPCLogPath,
+ if (optionIsSet(queryLoggingOptions, SOLVER_KQUERY)) {
+ solver = createKQueryLoggingSolver(solver, baseSolverQueryKQueryLogPath,
MinQueryTimeToLog);
- klee_message("Logging queries that reach solver in .pc format to %s\n",
- baseSolverQueryPCLogPath.c_str());
+ klee_message("Logging queries that reach solver in .kquery format to %s\n",
+ baseSolverQueryKQueryLogPath.c_str());
}
if (optionIsSet(queryLoggingOptions, SOLVER_SMTLIB)) {
@@ -51,10 +52,11 @@ Solver *constructSolverChain(Solver *coreSolver, std::string querySMT2LogPath,
if (DebugValidateSolver)
solver = createValidatingSolver(solver, coreSolver);
- if (optionIsSet(queryLoggingOptions, ALL_PC)) {
- solver = createPCLoggingSolver(solver, queryPCLogPath, MinQueryTimeToLog);
- klee_message("Logging all queries in .pc format to %s\n",
- queryPCLogPath.c_str());
+ if (optionIsSet(queryLoggingOptions, ALL_KQUERY)) {
+ solver = createKQueryLoggingSolver(solver, queryKQueryLogPath,
+ MinQueryTimeToLog);
+ klee_message("Logging all queries in .kquery format to %s\n",
+ queryKQueryLogPath.c_str());
}
if (optionIsSet(queryLoggingOptions, ALL_SMTLIB)) {