about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorHristina Palikareva <h.palikareva@imperial.ac.uk>2013-08-06 16:15:56 +0100
committerHristina Palikareva <h.palikareva@imperial.ac.uk>2013-08-06 16:15:56 +0100
commit9abe9572e68748002d8bbb789587e2a036ff760d (patch)
tree47c8acb9d07889e716a7a8d8240e7e343dd92d1f /tools
parent357ecb515baaa018a5b4b611f7cb4000e91315d3 (diff)
downloadklee-9abe9572e68748002d8bbb789587e2a036ff760d.tar.gz
Renaming solver-related command-line options in order to decouple them from STP. More specifically, command-line options max-stp-time, use-forked-stp and stp-optimize-divides renamed to max-solver-time, use-forked-solver and solver-optimize-divides, respectively.
Option of running the SMT solver in a separate process (i.e. forked) set to true by default.

Options of running SMT solver forked and with optimized divides made available to Kleaver as well.
Diffstat (limited to 'tools')
-rw-r--r--tools/kleaver/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/kleaver/main.cpp b/tools/kleaver/main.cpp
index 5b9e43a6..47c4f07f 100644
--- a/tools/kleaver/main.cpp
+++ b/tools/kleaver/main.cpp
@@ -214,9 +214,9 @@ static bool EvaluateInputAST(const char *Filename,
   Solver *S   = 0;
   Solver *STP = 0;
   if (!UseDummySolver) {
-    STPSolver* stpSolver = new STPSolver(true);
-    if (0 != MaxSTPTime) {
-      stpSolver->setTimeout(MaxSTPTime);    
+    STPSolver* stpSolver = new STPSolver(UseForkedCoreSolver);
+    if (0 != MaxCoreSolverTime) {
+      stpSolver->setTimeout(MaxCoreSolverTime);    
     }
     STP = S = stpSolver;
   }