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 std::unordered_set<irep_idt> symbols;
119 for(value_setst::valuest::const_iterator
125 if(symbols.find(lhs_identifier)!=symbols.end())
129 tmp.
swap(deref_expr.pointer());
131 deref_expr.swap(tmp);
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)
virtual void get_values(goto_programt::const_targett l, const exprt &expr, valuest &dest)=0
preconditiont(const namespacet &_ns, value_setst &_value_sets, const goto_programt::const_targett _target, const symex_target_equationt::SSA_stept &_SSA_step, const goto_symex_statet &_s)
bool is_false() const
Return whether the expression is a constant representing false.
Inheriting the interface of symex_targett this class represents the SSA form of the input program as ...
const symex_target_equationt::SSA_stept & SSA_step
const address_of_exprt & to_address_of_expr(const exprt &expr)
Cast an exprt to an address_of_exprt.
void compute_rec(exprt &dest)
const dereference_exprt & to_dereference_expr(const exprt &expr)
Cast an exprt to a dereference_exprt.
void get_original_name(exprt &expr) const
const irep_idt & id() const
exprt dereference(const exprt &pointer, const namespacet &ns)
Dereference the given pointer-expression.
void compute(exprt &dest)
instructionst::const_iterator const_targett
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
const member_exprt & to_member_expr(const exprt &expr)
Cast an exprt to a member_exprt.
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
const goto_programt::const_targett target
const goto_symex_statet & s
void compute_address_of(exprt &dest)
Single SSA step in the equation.
Base class for all expressions.
irep_idt get_object_name() const
const exprt & get_original_expr() const
#define Forall_operands(it, expr)
std::list< exprt > valuest
const index_exprt & to_index_expr(const exprt &expr)
Cast an exprt to an index_exprt.
void find_symbols(const exprt &src, find_symbols_sett &dest)
Generate Equation using Symbolic Execution.