Go to the documentation of this file.
61 for(symex_target_equationt::SSA_stepst::const_reverse_iterator
75 if(dest.
id()==ID_symbol)
79 else if(dest.
id()==ID_index)
85 else if(dest.
id()==ID_member)
89 else if(dest.
id()==ID_dereference)
102 if(dest.
id()==ID_address_of)
107 else if(dest.
id()==ID_dereference)
117 const std::unordered_set<irep_idt> symbols =
120 if(symbols.find(lhs_identifier)!=symbols.end())
124 tmp.
swap(deref_expr.pointer());
126 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)
Single SSA step in the equation.
void find_symbols_or_nexts(const exprt &src, find_symbols_sett &dest)
Add to the set dest the sub-expressions of src with id ID_symbol or ID_next_symbol.
const index_exprt & to_index_expr(const exprt &expr)
Cast an exprt to an index_exprt.
Central data structure: state.
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)
Generate Equation using Symbolic Execution.
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 address_of_exprt & to_address_of_expr(const exprt &expr)
Cast an exprt to an address_of_exprt.
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 ...
const dereference_exprt & to_dereference_expr(const exprt &expr)
Cast an exprt to a dereference_exprt.
preconditiont(const namespacet &_ns, value_setst &_value_sets, const goto_programt::const_targett _target, const SSA_stept &_SSA_step, const goto_symex_statet &_s)
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
virtual void get_values(const irep_idt &function_id, goto_programt::const_targett l, const exprt &expr, valuest &dest)=0
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...