Go to the documentation of this file.
12 #ifndef CPROVER_POINTER_ANALYSIS_GOTO_PROGRAM_DEREFERENCE_H
13 #define CPROVER_POINTER_ANALYSIS_GOTO_PROGRAM_DEREFERENCE_H
39 dereference(_ns, _new_symbol_table, *this, ID_nil, false)
45 bool checks_only=
false);
49 bool checks_only=
false);
76 bool checks_only=false);
98 #endif // CPROVER_POINTER_ANALYSIS_GOTO_PROGRAM_DEREFERENCE_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
void dereference_expression(const irep_idt &function_id, goto_programt::const_targett target, exprt &expr)
Set the current target to target and remove derefence from expr.
void remove_pointers(goto_modelt &, value_setst &)
Remove dereferences in all expressions contained in the program goto_model.
Base class for pointer value set analysis.
Base class for all expressions.
void dereference_expr(exprt &expr, const bool checks_only)
Remove dereference expressions contained in expr.
value_set_dereferencet dereference
void get_value_set(const exprt &expr, value_setst::valuest &dest) const override
Gets the value set corresponding to the current target and expression expr.
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Wrapper for functions removing dereferences in expressions contained in a goto program.
#define SINCE(year, month, day, msg)
Wrapper for a function dereferencing pointer expressions using a value set.
A collection of goto functions.
void dereference_instruction(goto_programt::targett target, bool checks_only=false)
Remove dereference from expressions contained in the instruction at target.
goto_program_dereferencet(const namespacet &_ns, symbol_tablet &_new_symbol_table, const optionst &_options, value_setst &_value_sets)
const symbolt * get_or_create_failed_symbol(const exprt &expr) override
void dereference_program(goto_programt &goto_program, bool checks_only=false)
A generic container class for the GOTO intermediate representation of one function.
instructionst::const_iterator const_targett
goto_programt::const_targett current_target
irep_idt current_function
void dereference_rec(exprt &expr)
Turn subexpression of expr of the form &*p into p and use dereference on subexpressions of the form *...
virtual ~goto_program_dereferencet()