diff options
author | Cristian Cadar <cristic@cs.stanford.edu> | 2012-10-24 15:00:31 +0000 |
---|---|---|
committer | Cristian Cadar <cristic@cs.stanford.edu> | 2012-10-24 15:00:31 +0000 |
commit | adf4ee6671f790c7f9ca9301dce27cb903a50ca4 (patch) | |
tree | f6cae91bac40ef5a74c0baad1a5559536ba3227e /include | |
parent | 30db83cfba2070f0693eef39c16b3c52432a22bb (diff) | |
download | klee-adf4ee6671f790c7f9ca9301dce27cb903a50ca4.tar.gz |
Patch by Dan Liew: "Added support for generating .smt2 files when
writing out test cases (option --write-smt2s) in KLEE." git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@166568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/Interpreter.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/klee/Interpreter.h b/include/klee/Interpreter.h index 8640869a..e29db411 100644 --- a/include/klee/Interpreter.h +++ b/include/klee/Interpreter.h @@ -58,6 +58,13 @@ public: CheckDivZero(_CheckDivZero) {} }; + enum LogType + { + STP, //.CVC (STP's native language) + KQUERY, //.PC files (kQuery native language) + SMTLIB2 //.SMT2 files (SMTLIB version 2 files) + }; + /// InterpreterOptions - Options varying the runtime behavior during /// interpretation. struct InterpreterOptions { @@ -132,7 +139,7 @@ public: virtual void getConstraintLog(const ExecutionState &state, std::string &res, - bool asCVC = false) = 0; + LogType logFormat = STP) = 0; virtual bool getSymbolicSolution(const ExecutionState &state, std::vector< |