12 #ifndef CPROVER_GOTO_CHECKER_GOTO_SYMEX_PROPERTY_DECIDER_H
13 #define CPROVER_GOTO_CHECKER_GOTO_SYMEX_PROPERTY_DECIDER_H
42 std::function<
bool(
const irep_idt &property_id)> select_property);
65 std::unordered_set<irep_idt> &updated_properties,
67 bool set_pass =
true)
const;
72 std::unique_ptr<solver_factoryt::solvert>
solver;
77 std::vector<symex_target_equationt::SSA_stepst::iterator>
instances;
resultt
Result of running the decision procedure.
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Base class for all expressions.
Provides management of goal variables that encode properties.
symex_target_equationt & get_equation() const
Return the equation associated with this instance.
boolbvt & get_boolbv_decision_procedure() const
Returns the solver instance.
goto_symex_property_decidert(const optionst &options, ui_message_handlert &ui_message_handler, symex_target_equationt &equation, const namespacet &ns)
ui_message_handlert & ui_message_handler
stack_decision_proceduret & get_decision_procedure() const
Returns the solver instance.
decision_proceduret::resultt solve()
Calls solve() on the solver instance.
std::unique_ptr< solver_factoryt::solvert > solver
symex_target_equationt & equation
void update_properties_goals_from_symex_target_equation(propertiest &properties)
Get the conditions for the properties from the equation and collect all 'instances' of the properties...
void update_properties_status_from_goals(propertiest &properties, std::unordered_set< irep_idt > &updated_properties, decision_proceduret::resultt dec_result, bool set_pass=true) const
Update the property status from the truth value of the goal variable.
void add_constraint_from_goals(std::function< bool(const irep_idt &property_id)> select_property)
Add disjunction of negated selected properties to the equation.
void convert_goals()
Convert the instances of a property into a goal variable.
std::map< irep_idt, goalt > goal_map
Maintains the relation between a property ID and the corresponding goal variable that encodes the neg...
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Inheriting the interface of symex_targett this class represents the SSA form of the input program as ...
std::map< irep_idt, property_infot > propertiest
A map of property IDs to property infos.
std::vector< symex_target_equationt::SSA_stepst::iterator > instances
A property holds if all instances of it are true.
exprt condition
The goal variable.
Generate Equation using Symbolic Execution.