Go to the documentation of this file.
12 #ifndef CPROVER_GOTO_CHECKER_PROPERTIES_H
13 #define CPROVER_GOTO_CHECKER_PROPERTIES_H
112 #endif // CPROVER_GOTO_CHECKER_PROPERTIES_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
@ FAIL
The property was violated.
property_statust
The status of a property.
@ ERROR
An error occurred during goto checking.
resultt
The result of goto verifying.
property_statust & operator&=(property_statust &, property_statust const &)
Update with the preference order.
resultt determine_result(const propertiest &properties)
Determines the overall result corresponding from the given properties That is PASS if all properties ...
bool is_property_to_check(property_statust)
Return true if the status is NOT_CHECKED or UNKNOWN.
void update_properties_from_goto_model(propertiest &properties, const abstract_goto_modelt &goto_model)
Updates properties with the assertions in goto_model.
std::map< irep_idt, property_infot > propertiest
A map of property IDs to property infos.
bool has_properties_to_check(const propertiest &properties)
Return true if there as a property with NOT_CHECKED or UNKNOWN status.
property_statust & operator|=(property_statust &, property_statust const &)
Update with the preference order.
@ UNKNOWN
No property was violated, neither was there an error.
std::string description
A description (usually derived from the assertion's comment)
int result_to_exit_code(resultt result)
property_statust status
The status of the property.
std::string as_string(property_statust)
xmlt xml(const irep_idt &property_id, const property_infot &property_info)
std::size_t count_properties(const propertiest &, property_statust)
Return the number of properties with given status.
@ NOT_CHECKED
The property was not checked (also used for initialization)
json_objectt json(const irep_idt &property_id, const property_infot &property_info)
@ ERROR
An error occurred during goto checking.
@ UNKNOWN
The checker was unable to determine the status of the property.
Provides methods for streaming JSON objects.
@ PASS
The property was not violated.
instructionst::const_iterator const_targett
propertiest initialize_properties(const abstract_goto_modelt &)
Returns the properties in the goto model.
Abstract interface to eager or lazy GOTO models.
goto_programt::const_targett pc
A pointer to the corresponding goto instruction.
property_infot(goto_programt::const_targett pc, std::string description, property_statust status)