40 const irep_idt &failed_symbol = ptr_symbol.
type.
get(ID_C_failed_symbol);
43 if(!failed_symbol.
empty() && !
ns.
lookup(failed_symbol, symbol))
54 else if(expr.
id()==ID_symbol)
59 const irep_idt &failed_symbol = ptr_symbol.
type.
get(ID_C_failed_symbol);
62 if(!failed_symbol.
empty() && !
ns.
lookup(failed_symbol, symbol))
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Base class for all expressions.
value_sett value_set
Uses level 1 names, and is used to do dereferencing.
symbol_tablet symbol_table
contains symbols that are minted during symbolic execution, such as dynamically created objects etc.
renamedt< ssa_exprt, level > rename_ssa(ssa_exprt ssa, const namespacet &ns)
Version of rename which is specialized for SSA exprt.
const irep_idt & get(const irep_idt &name) const
const irep_idt & id() const
bool lookup(const irep_idt &name, const symbolt *&symbol) const override
See documentation for namespace_baset::lookup().
Expression providing an SSA-renamed symbol of expressions.
const exprt & get_original_expr() const
const irep_idt & get_identifier() const
virtual bool move(symbolt &symbol, symbolt *&new_symbol) override
Move a symbol into the symbol table.
class symbol_exprt symbol_expr() const
Produces a symbol_exprt for a symbol.
typet type
Type of symbol.
irep_idt name
The unique identifier.
goto_symext::statet & state
std::vector< exprt > get_value_set(const exprt &expr) const override
Just forwards a value-set query to state.value_set
const symbolt * get_or_create_failed_symbol(const exprt &expr) override
Get or create a failed symbol for the given pointer-typed expression.
std::vector< exprt > get_value_set(exprt expr, const namespacet &ns) const
Gets values pointed to by expr, including following dereference operators (i.e.
const ssa_exprt & to_ssa_expr(const exprt &expr)
Cast a generic exprt to an ssa_exprt.
bool is_ssa_expr(const exprt &expr)
const symbol_exprt & to_symbol_expr(const exprt &expr)
Cast an exprt to a symbol_exprt.
Symbolic Execution of ANSI-C.