From adf4ee6671f790c7f9ca9301dce27cb903a50ca4 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Wed, 24 Oct 2012 15:00:31 +0000 Subject: 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 --- include/klee/Interpreter.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include') 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< -- cgit 1.4.1