Go to the documentation of this file.
14 #ifndef CPROVER_GOTO_INSTRUMENT_CONTRACTS_MEMORY_PREDICATES_H
15 #define CPROVER_GOTO_INSTRUMENT_CONTRACTS_MEMORY_PREDICATES_H
42 const std::string &name,
146 #endif // CPROVER_GOTO_INSTRUMENT_CONTRACTS_MEMORY_PREDICATES_H
Class that provides messages with a built-in verbosity 'level'.
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
void add_declarations(const std::string &decl_string)
std::string requires_fn_name
std::string ensures_fn_name
void operator()(const exprt &exp) override
is_fresh_replacet(code_contractst &_parent, messaget _log, const irep_idt _fun_id)
find_is_fresh_calls_visitort()
function_binding_visitort()
virtual void create_ensures_fn_call(goto_programt::targett &target)
virtual void create_requires_fn_call(goto_programt::targett &target)
array_typet get_memmap_type()
std::set< irep_idt > & function_calls()
void operator()(const goto_programt &prog)
Base class for all expressions.
void operator()(goto_programt &prog)
virtual void create_declarations()=0
void update_ensures(goto_programt &ensures)
virtual void create_requires_fn_call(goto_programt::targett &target)
std::set< irep_idt > function_set
void update_fn_call(goto_programt::targett &target, const std::string &name, bool add_address_of)
virtual void create_ensures_fn_call(goto_programt::targett &target)
std::set< goto_programt::targett > function_set
void add_memory_map_dead(goto_programt &program)
virtual void create_ensures_fn_call(goto_programt::targett &target)=0
Predicate to be used with the exprt::visit() function.
std::set< goto_programt::targett > & is_fresh_calls()
A collection of goto functions.
functions_in_scope_visitort(const goto_functionst &goto_functions, messaget &log)
is_fresh_enforcet(code_contractst &_parent, messaget _log, const irep_idt _fun_id)
virtual void create_requires_fn_call(goto_programt::targett &target)=0
A generic container class for the GOTO intermediate representation of one function.
virtual void create_declarations()
is_fresh_baset(code_contractst &_parent, messaget _log, const irep_idt _fun_id)
virtual void create_declarations()
instructionst::iterator targett
Predicate to be used with the exprt::visit() function.
void update_requires(goto_programt &requires)
void add_memory_map_decl(goto_programt &program)
const goto_functionst & goto_functions