CBMC
|
#include "static_lifetime_init.h"
#include <util/arith_tools.h>
#include <util/c_types.h>
#include <util/expr_initializer.h>
#include <util/namespace.h>
#include <util/prefix.h>
#include <util/std_code.h>
#include <util/symbol_table_base.h>
#include <goto-programs/goto_model.h>
#include <ansi-c/goto-conversion/goto_convert_functions.h>
#include <set>
Go to the source code of this file.
Functions | |
static std::optional< codet > | static_lifetime_init (const irep_idt &identifier, symbol_table_baset &symbol_table) |
void | static_lifetime_init (symbol_table_baset &symbol_table, const source_locationt &source_location) |
void | recreate_initialize_function (goto_modelt &goto_model, message_handlert &message_handler) |
Regenerates the CPROVER_INITIALIZE function, which initializes all non-function symbols of the goto model that have static lifetime. More... | |
void recreate_initialize_function | ( | goto_modelt & | goto_model, |
message_handlert & | message_handler | ||
) |
Regenerates the CPROVER_INITIALIZE function, which initializes all non-function symbols of the goto model that have static lifetime.
It is an error if CPROVER_INITIALIZE was not present beforehand.
Definition at line 165 of file static_lifetime_init.cpp.
|
static |
Definition at line 25 of file static_lifetime_init.cpp.
void static_lifetime_init | ( | symbol_table_baset & | symbol_table, |
const source_locationt & | source_location | ||
) |
Definition at line 99 of file static_lifetime_init.cpp.