about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2013-01-22 18:37:12 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2013-01-22 18:37:12 +0000
commit4f1ad0a8426e0bba970bfaef1367e4e7a70ad0c1 (patch)
treede0e1b45410e0015a7eff1991d9acdf1a4e8b784 /tools
parentb676cabff80c1b8a7872f5263fbdadf2a1ff1148 (diff)
downloadklee-4f1ad0a8426e0bba970bfaef1367e4e7a70ad0c1.tar.gz
Patch by Hristina Palikareva which enables Kleaver to configure the
solver chain.



git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@173180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/kleaver/main.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/kleaver/main.cpp b/tools/kleaver/main.cpp
index 00034eb1..00ffc92f 100644
--- a/tools/kleaver/main.cpp
+++ b/tools/kleaver/main.cpp
@@ -183,10 +183,13 @@ static bool EvaluateInputAST(const char *Filename,
   if (true == optionIsSet(queryLoggingOptions, SOLVER_PC))
     S = createPCLoggingSolver(S, SOLVER_QUERIES_PC_FILE_NAME, MinQueryTimeToLog);
   if (UseFastCexSolver)
-    S = createFastCexSolver(S);
-  S = createCexCachingSolver(S);
-  S = createCachingSolver(S);
-  S = createIndependentSolver(S);
+    S = createFastCexSolver(S);  
+  if (UseCexCache)
+    S = createCexCachingSolver(S);
+  if (UseCache)
+    S = createCachingSolver(S);
+  if (UseIndependentSolver)
+    S = createIndependentSolver(S);
   if (0)
     S = createValidatingSolver(S, STP);