1#ifndef _ESBMC_SOLVERS_SMTLIB_ONESHOT_PROCESS_H
2#define _ESBMC_SOLVERS_SMTLIB_ONESHOT_PROCESS_H
38std::string
model_prog(
const optionst &options,
const char *name);
48 const std::string &cmd,
49 const std::string &formula_path,
51 std::string *captured_output =
nullptr);
Helpers shared by backends that render the formula into a file via the smtlib serializer and run an e...
Definition oneshot_process.cpp:18
std::string choose_formula_path(const optionst &options, const char *name)
The formula file the external solver is pointed at.
Definition oneshot_process.cpp:43
bool uses_temp_formula(const optionst &options)
Whether the formula file is a temporary the backend creates, as opposed to a user-supplied –output pa...
Definition oneshot_process.cpp:36
std::optional< smt_resultt > parse_verdict_line(const std::string &raw)
Recognize a verdict on one output line, tolerating surrounding whitespace.
Definition oneshot_process.cpp:19
std::string model_prog(const optionst &options, const char *name)
The local interactive model solver command (<name>-model-prog), or "" when none is configured.
Definition oneshot_process.cpp:69
smt_resultt run_solver(const std::string &cmd_template, const std::string &formula_path, const char *name, std::string *captured_output)
Run the one-shot solver command on formula_path and parse the verdict from its standard output.
Definition oneshot_process.cpp:125
smt_resultt
Result of a call to dec_solve.
Definition smt_result.h:7