#include <c_nondet_symbol_factory.h>
Definition at line 21 of file c_nondet_symbol_factory.h.
◆ recursion_sett
◆ symbol_factoryt()
◆ add_created_symbol()
void symbol_factoryt::add_created_symbol |
( |
const symbolt & |
symbol | ) |
|
|
inline |
◆ declare_created_symbols()
void symbol_factoryt::declare_created_symbols |
( |
code_blockt & |
init_code | ) |
|
|
inline |
◆ gen_nondet_array_init()
void symbol_factoryt::gen_nondet_array_init |
( |
code_blockt & |
assignments, |
|
|
const exprt & |
expr, |
|
|
std::size_t |
depth, |
|
|
const recursion_sett & |
recursion_set |
|
) |
| |
|
private |
Generate initialisation code for each array element.
- Parameters
-
assignments | The code block to add code to |
expr | An expression of array type |
depth | The struct recursion depth |
recursion_set | The struct recursion set |
- See also
- gen_nondet_init For the meaning of the last 2 parameters
Definition at line 167 of file c_nondet_symbol_factory.cpp.
◆ gen_nondet_init()
Creates a nondet for expr, including calling itself recursively to make appropriate symbols to point to if expr is a pointer.
- Parameters
-
assignments | The code block to add code to |
expr | The expression which we are generating a non-determinate value for |
depth | number of pointers followed so far during initialisation |
recursion_set | names of structs seen so far on current pointer chain |
assign_const | Indicates whether const objects should be nondet initialized |
Definition at line 37 of file c_nondet_symbol_factory.cpp.
◆ mark_created_symbols_as_input()
void symbol_factoryt::mark_created_symbols_as_input |
( |
code_blockt & |
init_code | ) |
|
|
inline |
◆ allocate_objects
◆ lifetime
◆ loc
◆ ns
◆ object_factory_params
◆ symbol_table
The documentation for this class was generated from the following files: