|
CBMC
|
#include "stack_depth.h"#include <util/arith_tools.h>#include <util/bitvector_types.h>#include <goto-programs/goto_convert_functions.h>#include <goto-programs/goto_model.h>#include <linking/static_lifetime_init.h>
Include dependency graph for stack_depth.cpp:Go to the source code of this file.
Functions | |
| static symbol_exprt | add_stack_depth_symbol (goto_modelt &goto_model, message_handlert &message_handler) |
| static void | stack_depth (goto_programt &goto_program, const symbol_exprt &symbol, const std::size_t i_depth, const exprt &max_depth) |
| void | stack_depth (goto_modelt &goto_model, const std::size_t depth, message_handlert &message_handler) |
Add assertions to all user-defined functions in goto_model that the call stack depth does not exceed depth. More... | |
Stack depth checks
Definition in file stack_depth.cpp.
|
static |
Definition at line 24 of file stack_depth.cpp.
| void stack_depth | ( | goto_modelt & | goto_model, |
| const std::size_t | depth, | ||
| message_handlert & | message_handler | ||
| ) |
Add assertions to all user-defined functions in goto_model that the call stack depth does not exceed depth.
Warnings are reported via message_handler.
Definition at line 95 of file stack_depth.cpp.
|
static |
Definition at line 61 of file stack_depth.cpp.