Go to the documentation of this file.
29 equation_generated(false),
30 property_decider(options, ui_message_handler, equation, ns)
37 resultt result(resultt::progresst::DONE);
44 std::chrono::duration<double> solver_runtime(0);
73 std::chrono::duration<double>
79 return solver_runtime;
85 std::chrono::duration<double> solver_runtime)
160 return fault_localizer(property_id);
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
goto_symex_property_decidert property_decider
void output_proof() override
void build_goto_trace(const symex_target_equationt &target, ssa_step_predicatet is_last_step_to_keep, const decision_proceduret &decision_procedure, const namespacet &ns, goto_tracet &goto_trace)
Build a trace by going through the steps of target and stopping after the step matching a given condi...
void output_graphml(const goto_tracet &goto_trace, const namespacet &ns, const optionst &options)
outputs an error witness in graphml format
static void with_solver_hardness(decision_proceduret &maybe_hardness_collector, std::function< void(solver_hardnesst &hardness)> handler)
const std::string get_option(const std::string &option) const
goto_tracet build_shortest_trace() const override
Builds and returns the trace up to the first failed property.
resultt operator()(propertiest &) override
Check whether the given properties with status NOT_CHECKED, UNKNOWN or properties newly discovered by...
symex_target_equationt equation
std::map< irep_idt, property_infot > propertiest
A map of property IDs to property infos.
fault_location_infot localize_fault(const irep_idt &property_id) const override
Returns the most likely fault locations for the given FAILed property_id.
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
bool has_properties_to_check(const propertiest &properties)
Return true if there as a property with NOT_CHECKED or UNKNOWN status.
void output_error_witness(const goto_tracet &) override
bool is_set(const std::string &option) const
N.B. opts.is_set("foo") does not imply opts.get_bool_option("foo")
decision_proceduret & get_decision_procedure() const
Returns the solver instance.
stack_decision_proceduret & get_stack_decision_procedure() const
Returns the solver instance.
virtual std::chrono::duration< double > prepare_property_decider(propertiest &properties)
Prepare the property decider for solving.
const namespacet & get_namespace() const override
Returns the namespace associated with the traces.
abstract_goto_modelt & goto_model
virtual void update_properties(propertiest &properties, std::unordered_set< irep_idt > &updated_properties)
Updates the properties from the equation and adds their property IDs to updated_properties.
ssa_step_predicatet ssa_step_matches_failing_property(const irep_idt &property_id)
Returns a function that checks whether an SSA step is an assertion with property_id.
A structure that facilitates collecting the complexity statistics from a decision procedure.
void report() override
Additional reporting that may result from the underlying solver, no-op by default.
bool get_bool_option(const std::string &option) const
goto_tracet build_trace(const irep_idt &) const override
Builds and returns the trace for the FAILed property with the given property_id.
goto_tracet build_full_trace() const override
Builds and returns the complete trace.
void output_coverage_report(const std::string &cov_out, const abstract_goto_modelt &goto_model, const symex_bmct &symex, ui_message_handlert &ui_message_handler)
Output a coverage report as generated by symex_coveraget if cov_out is non-empty.
std::unordered_set< irep_idt > updated_properties
Changed properties since the last call to incremental_goto_checkert::operator()
Abstract interface to eager or lazy GOTO models.
ui_message_handlert & ui_message_handler
virtual void run_property_decider(incremental_goto_checkert::resultt &result, propertiest &properties, std::chrono::duration< double > solver_runtime)
Run the property decider, which calls the SAT solver, and set the status of checked properties accord...
multi_path_symex_checkert(const optionst &options, ui_message_handlert &ui_message_handler, abstract_goto_modelt &goto_model)
virtual void generate_equation()
Generates the equation by running goto-symex.