107 mode, source_location, name_prefix, symbol_table};
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
exprt allocate_automatic_local_object(code_blockt &assignments, const exprt &target_expr, const typet &allocate_type, const irep_idt &basename_prefix="tmp")
Creates a local variable with automatic lifetime.
A base class for expressions that are predicates, i.e., Boolean-typed, and that take exactly two argu...
An assumption, which must hold in subsequent code.
A codet representing sequential composition of program statements.
void add(const codet &code)
codet representation of a break statement (within a for or while loop).
A codet representing an assignment in the program.
A codet representing the declaration of a local variable.
codet representation of a switch-case, i.e. a case statement within a switch.
codet representing a switch statement.
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Base class for all expressions.
exprt & with_source_location(source_locationt location) &
Add the source location from location, if it is non-nil.
A side_effect_exprt that returns a non-deterministically chosen value.
Expression to hold a symbol (variable)
The symbol table base class interface.
The type of an expression, extends irept.
code_blockt generate_nondet_switch(const irep_idt &name_prefix, const alternate_casest &switch_cases, const typet &int_type, const irep_idt &mode, const source_locationt &source_location, symbol_table_baset &symbol_table)
Pick nondeterministically between imperative actions 'switch_cases'.
symbol_exprt generate_nondet_int(const exprt &min_value_expr, const exprt &max_value_expr, const std::string &basename_prefix, const source_locationt &source_location, allocate_objectst &allocate_objects, code_blockt &instructions)
Same as generate_nondet_int( const mp_integer &min_value, const mp_integer &max_value,...
std::vector< codet > alternate_casest
std::function< symbol_exprt(const typet &type, std::string)> allocate_local_symbolt
#define PRECONDITION(CONDITION)