CBMC
|
Volatile Variables. More...
#include <functional>
Go to the source code of this file.
Macros | |
#define | NONDET_VOLATILE_OPT "nondet-volatile" |
#define | NONDET_VOLATILE_VARIABLE_OPT "nondet-volatile-variable" |
#define | NONDET_VOLATILE_MODEL_OPT "nondet-volatile-model" |
#define | OPT_NONDET_VOLATILE |
#define | HELP_NONDET_VOLATILE |
Functions | |
void | parse_nondet_volatile_options (const cmdlinet &cmdline, optionst &options) |
void | nondet_volatile (goto_modelt &goto_model, const optionst &options) |
Havoc reads from volatile expressions, if enabled in the options. More... | |
void | nondet_volatile (goto_modelt &goto_model, std::function< bool(const exprt &)> should_havoc=[](const exprt &) { return true;}) |
Havoc reads from volatile expressions. More... | |
Volatile Variables.
Definition in file nondet_volatile.h.
#define HELP_NONDET_VOLATILE |
Definition at line 32 of file nondet_volatile.h.
#define NONDET_VOLATILE_MODEL_OPT "nondet-volatile-model" |
Definition at line 25 of file nondet_volatile.h.
#define NONDET_VOLATILE_OPT "nondet-volatile" |
Definition at line 23 of file nondet_volatile.h.
#define NONDET_VOLATILE_VARIABLE_OPT "nondet-volatile-variable" |
Definition at line 24 of file nondet_volatile.h.
#define OPT_NONDET_VOLATILE |
Definition at line 27 of file nondet_volatile.h.
void nondet_volatile | ( | goto_modelt & | goto_model, |
const optionst & | options | ||
) |
Havoc reads from volatile expressions, if enabled in the options.
goto_model | the goto model in which to havoc volatile reads |
options | command line options |
Definition at line 456 of file nondet_volatile.cpp.
void nondet_volatile | ( | goto_modelt & | goto_model, |
std::function< bool(const exprt &)> | should_havoc = [](const exprt &) { return true;} |
||
) |
Havoc reads from volatile expressions.
goto_model | the goto model in which to havoc volatile reads |
should_havoc | predicate indicating if the given volatile expression should be havocked |
Definition at line 410 of file nondet_volatile.cpp.