Go to the documentation of this file.
62 for(symex_target_equationt::SSA_stepst::const_reverse_iterator
76 if(dest.
id()==ID_symbol)
80 else if(dest.
id()==ID_index)
86 else if(dest.
id()==ID_member)
90 else if(dest.
id()==ID_dereference)
103 if(dest.
id()==ID_address_of)
108 else if(dest.
id()==ID_dereference)
116 bool may_alias =
false;
130 tmp.
swap(deref_expr.pointer());
132 deref_expr.swap(tmp);
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
#define Forall_operands(it, expr)
const dereference_exprt & to_dereference_expr(const exprt &expr)
Cast an exprt to a dereference_exprt.
Single SSA step in the equation.
const index_exprt & to_index_expr(const exprt &expr)
Cast an exprt to an index_exprt.
Central data structure: state.
virtual std::vector< exprt > get_values(const irep_idt &function_id, goto_programt::const_targett l, const exprt &expr)=0
Base class for all expressions.
irep_idt get_object_name() const
symex_targett::sourcet source
const exprt & get_original_expr() const
const goto_programt::const_targett target
bool is_false() const
Return whether the expression is a constant representing false.
void compute_address_of(exprt &dest)
void compute_rec(exprt &dest)
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
const goto_symex_statet & s
const SSA_stept & SSA_step
void compute(exprt &dest)
exprt get_original_name(exprt expr)
Undo all levels of renaming.
const irep_idt & id() const
Inheriting the interface of symex_targett this class represents the SSA form of the input program as ...
preconditiont(const namespacet &_ns, value_setst &_value_sets, const goto_programt::const_targett _target, const SSA_stept &_SSA_step, const goto_symex_statet &_s)
bool has_symbol_expr(const exprt &src, const irep_idt &identifier, bool include_bound_symbols)
Returns true if one of the symbol expressions in src has identifier identifier; if include_bound_symb...
void precondition(const namespacet &ns, value_setst &value_sets, const goto_programt::const_targett target, const symex_target_equationt &equation, const goto_symex_statet &s, exprt &dest)
const member_exprt & to_member_expr(const exprt &expr)
Cast an exprt to a member_exprt.
instructionst::const_iterator const_targett
const address_of_exprt & to_address_of_expr(const exprt &expr)
Cast an exprt to an address_of_exprt.
void dereference(const irep_idt &function_id, goto_programt::const_targett target, exprt &expr, const namespacet &ns, value_setst &value_sets)
Remove dereferences in expr using value_sets to determine to what objects the pointers may be pointin...