52 if(symbol.
type.
get_bool(ID_C_no_initialization_required))
76 goto_functionst::function_mapt::iterator fct_entry =
100 i_it->function = original_instruction.
function;
irep_idt function
The function this instruction belongs to.
const std::string & id2string(const irep_idt &d)
bool is_function_call() const
const irep_idt & get_identifier() const
function_mapt function_map
typet & type()
Return the type of the expression.
symbol_tablet symbol_table
Symbol table.
#define CHECK_RETURN(CONDITION)
bool get_bool(const irep_namet &name) const
This class represents an instruction in the GOTO intermediate representation.
const code_assignt & to_code_assign(const codet &code)
#define INITIALIZE_FUNCTION
Nondeterministically initializes global scope variables, except for constants (such as string literal...
const symbol_table_baset & get_symbol_table() const
Return first symbol table registered with the namespace.
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
A side_effect_exprt that returns a non-deterministically chosen value.
bool has_prefix(const std::string &s, const std::string &prefix)
codet representation of a function call statement.
A collection of goto functions.
const symbol_exprt & to_symbol_expr(const exprt &expr)
Cast an exprt to a symbol_exprt.
dstringt has one field, an unsigned integer no which is an index into a static table of strings...
bool has_symbol(const irep_idt &name) const
Check whether a symbol exists in the symbol table.
A generic container class for the GOTO intermediate representation of one function.
typet type
Type of symbol.
source_locationt source_location
The location of the instruction in the source file.
bool is_constant_or_has_constant_components(const typet &type, const namespacet &ns)
Identify whether a given type is constant itself or contains constant components. ...
#define Forall_goto_program_instructions(it, program)
Expression to hold a symbol (variable)
bool is_nondet_initializable_static(const symbol_exprt &symbol_expr, const namespacet &ns)
See the return.
goto_functionst goto_functions
GOTO functions.
bool lookup(const irep_idt &name, const symbolt *&symbol) const override
See documentation for namespace_baset::lookup().
void nondet_static(const namespacet &ns, goto_functionst &goto_functions, const irep_idt &fct_name)
Nondeterministically initializes global scope variables in a goto-function.
A codet representing an assignment in the program.
const code_function_callt & to_code_function_call(const codet &code)