CBMC
|
Go to the source code of this file.
Classes | |
class | goto_program_dereferencet |
Wrapper for functions removing dereferences in expressions contained in a goto program. More... | |
Macros | |
#define | OPT_REMOVE_POINTERS "(remove-pointers)" |
#define | HELP_REMOVE_POINTERS " --remove-pointers converts pointer arithmetic to base+offset expressions\n" /* NOLINT(whitespace/line_length) */ |
Functions | |
void | dereference (const irep_idt &function_id, goto_programt::const_targett target, exprt &expr, const namespacet &, value_setst &) |
Remove dereferences in expr using value_sets to determine to what objects the pointers may be pointing to. More... | |
void | remove_pointers (goto_modelt &, value_setst &) |
Remove dereferences in all expressions contained in the program goto_model . More... | |
Value Set
Definition in file goto_program_dereference.h.
#define HELP_REMOVE_POINTERS " --remove-pointers converts pointer arithmetic to base+offset expressions\n" /* NOLINT(whitespace/line_length) */ |
Definition at line 113 of file goto_program_dereference.h.
#define OPT_REMOVE_POINTERS "(remove-pointers)" |
Definition at line 110 of file goto_program_dereference.h.
void dereference | ( | const irep_idt & | function_id, |
goto_programt::const_targett | target, | ||
exprt & | expr, | ||
const namespacet & | , | ||
value_setst & | |||
) |
Remove dereferences in expr
using value_sets
to determine to what objects the pointers may be pointing to.
Definition at line 278 of file goto_program_dereference.cpp.
void remove_pointers | ( | goto_modelt & | goto_model, |
value_setst & | value_sets | ||
) |
Remove dereferences in all expressions contained in the program goto_model
.
value_sets
is used to determine to what objects the pointers may be pointing to.
Definition at line 260 of file goto_program_dereference.cpp.