3 #ifndef CPROVER_LIBCPROVER_CPP_API_H
4 #define CPROVER_LIBCPROVER_CPP_API_H
77 std::unique_ptr<verification_resultt>
verify_model()
const;
90 std::unique_ptr<verification_resultt>
run_verifier()
const;
const char * api_message_get_string(const api_messaget &message)
Given a api_message, this function returns that message expressed as a C language string.
bool api_message_is_error(const api_messaget &message)
void(*)(const api_messaget &message, api_call_back_contextt call_back_context) api_message_callbackt
The type of call back for feedback of status information and results.
void * api_call_back_contextt
The type of pointers to contextual data passed to the api_message_callback functions.
std::unique_ptr< std::string > get_api_version() const
A simple API version information function.
std::unique_ptr< verification_resultt > run_verifier() const
Process the model by running symex and the decision procedure.
bool preprocess_model() const
Implement necessary transformations to reduce model to symex-ready-GOTO, before being fed to symex.
void load_model_from_files(const std::vector< std::string > &files) const
Load a goto_model from a given vector of filenames.
bool is_goto_binary(std::string &file) const
True if file is goto-binary.
std::unique_ptr< verification_resultt > verify_model() const
void set_message_callback(api_message_callbackt callback, api_call_back_contextt context)
void drop_unused_functions() const
Drop unused functions from the loaded goto_model simplifying it.
void validate_goto_model() const
Validate the loaded goto model.
std::unique_ptr< api_session_implementationt > implementation
void read_goto_binary(std::string &file) const
Read a goto-binary from a given filename.
Interface for the various verification engines providing results.