diff options
Diffstat (limited to 'include/klee/Solver.h')
-rw-r--r-- | include/klee/Solver.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/klee/Solver.h b/include/klee/Solver.h index 4cedf47d..db14f003 100644 --- a/include/klee/Solver.h +++ b/include/klee/Solver.h @@ -213,7 +213,8 @@ namespace klee { /// createPCLoggingSolver - Create a solver which will forward all queries /// after writing them to the given path in .pc format. - Solver *createPCLoggingSolver(Solver *s, std::string path); + Solver *createPCLoggingSolver(Solver *s, std::string path, + int minQueryTimeToLog); /// createSMTLIBLoggingSolver - Create a solver which will forward all queries /// after writing them to the given path in .smt2 format. @@ -223,6 +224,13 @@ namespace klee { /// createDummySolver - Create a dummy solver implementation which always /// fails. Solver *createDummySolver(); + + enum SolverRunStatus { SOLVER_RUN_STATUS_SUCCESS, + SOLVER_RUN_STATUS_TIMEOUT, + SOLVER_RUN_STATUS_FORK_FAILED, + SOLVER_RUN_STATUS_INTERRUPTED, + SOLVER_RUN_STATUS_UNEXPECTED_EXIT_CODE, + SOLVER_RUN_STATUS_WAITPID_FAILED }; } #endif |