18 std::unordered_set<symbol_exprt, irep_hash> &result)
20 if(src.
id() == ID_object_address)
29 std::unordered_set<symbol_exprt, irep_hash>
32 std::unordered_set<symbol_exprt, irep_hash> result;
Base class for all expressions.
const irep_idt & id() const
static void find_variables_rec(const exprt &src, std::unordered_set< symbol_exprt, irep_hash > &result)
std::unordered_set< symbol_exprt, irep_hash > find_variables(const std::vector< exprt > &src)
Returns the set of program variables (as identified by object_address expressions) in the given expre...
API to expression classes for Pointers.
const object_address_exprt & to_object_address_expr(const exprt &expr)
Cast an exprt to an object_address_exprt.