|
ESBMC
Efficient SMT-based Context-Bounded Model Checker
|
#include <goto-programs/goto_functions.h>#include <util/symtab/context.h>#include <util/symtab/namespace.h>Go to the source code of this file.
Functions | |
| void | goto_atomicity_check (goto_functionst &goto_functions, const namespacet &ns, contextt &context) |
| Post-GOTO-conversion atomicity check instrumentation pass. | |
| void goto_atomicity_check | ( | goto_functionst & | goto_functions, |
| const namespacet & | ns, | ||
| contextt & | context ) |
Post-GOTO-conversion atomicity check instrumentation pass.
For each assignment to or read from a global variable, inserts:
This corresponds to the –atomicity-check flag and detects violations of atomicity when multiple threads access shared global variables.