diff options
author | Dan Liew <delcypher@gmail.com> | 2016-09-15 13:13:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-15 13:13:33 +0100 |
commit | 9baab03a58ffb8c74a2c3db40256521050f68049 (patch) | |
tree | 39b675f5b2bd836d8a60bb9a889087650c596239 /include | |
parent | 2a3b9fa786228dadda6d7808dadd8e9a2870b169 (diff) | |
parent | 3200fe7b15a89619ee0cf9a31841ef9737c38950 (diff) | |
download | klee-9baab03a58ffb8c74a2c3db40256521050f68049.tar.gz |
Merge pull request #372 from delcypher/stp_z3_crosscheck
Allow cross checking of solvers
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/CommandLine.h | 10 | ||||
-rw-r--r-- | include/klee/Internal/Support/ErrorHandling.h | 6 |
2 files changed, 12 insertions, 4 deletions
diff --git a/include/klee/CommandLine.h b/include/klee/CommandLine.h index 00cdeebb..dc69de6e 100644 --- a/include/klee/CommandLine.h +++ b/include/klee/CommandLine.h @@ -44,9 +44,17 @@ enum QueryLoggingSolverType */ extern llvm::cl::list<QueryLoggingSolverType> queryLoggingOptions; -enum CoreSolverType { STP_SOLVER, METASMT_SOLVER, DUMMY_SOLVER, Z3_SOLVER }; +enum CoreSolverType { + STP_SOLVER, + METASMT_SOLVER, + DUMMY_SOLVER, + Z3_SOLVER, + NO_SOLVER +}; extern llvm::cl::opt<CoreSolverType> CoreSolverToUse; +extern llvm::cl::opt<CoreSolverType> DebugCrossCheckCoreSolverWith; + #ifdef ENABLE_METASMT enum MetaSMTBackendType diff --git a/include/klee/Internal/Support/ErrorHandling.h b/include/klee/Internal/Support/ErrorHandling.h index 330985e9..29451692 100644 --- a/include/klee/Internal/Support/ErrorHandling.h +++ b/include/klee/Internal/Support/ErrorHandling.h @@ -23,7 +23,7 @@ namespace klee { extern FILE *klee_warning_file; extern FILE *klee_message_file; -/// Print "KLEE: ERROR" followed by the msg in printf format and a +/// Print "KLEE: ERROR: " followed by the msg in printf format and a /// newline on stderr and to warnings.txt, then exit with an error. void klee_error(const char *msg, ...) __attribute__((format(printf, 1, 2), noreturn)); @@ -37,11 +37,11 @@ void klee_message(const char *msg, ...) __attribute__((format(printf, 1, 2))); void klee_message_to_file(const char *msg, ...) __attribute__((format(printf, 1, 2))); -/// Print "KLEE: WARNING" followed by the msg in printf format and a +/// Print "KLEE: WARNING: " followed by the msg in printf format and a /// newline on stderr and to warnings.txt. void klee_warning(const char *msg, ...) __attribute__((format(printf, 1, 2))); -/// Print "KLEE: WARNING" followed by the msg in printf format and a +/// Print "KLEE: WARNING: " followed by the msg in printf format and a /// newline on stderr and to warnings.txt. However, the warning is only /// printed once for each unique (id, msg) pair (as pointers). void klee_warning_once(const void *id, const char *msg, ...) |