CBMC
Loading...
Searching...
No Matches
Functions
static_lifetime_init.cpp File Reference
#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>
+ Include dependency graph for static_lifetime_init.cpp:

Go to the source code of this file.

Functions

static std::optional< codetstatic_lifetime_init (const irep_idt &identifier, symbol_table_baset &symbol_table)
 
 
  Regenerates the CPROVER_INITIALIZE function, which initializes all non-function symbols of the goto model that have static lifetime.
 

Function Documentation

◆  recreate_initialize_function()

void recreate_initialize_function ( goto_modeltgoto_model,
message_handlertmessage_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 170 of file static_lifetime_init.cpp.

◆  static_lifetime_init() [1/2]

static std::optional< codet > static_lifetime_init ( const irep_idtidentifier,
symbol_table_basetsymbol_table 
)
static

Definition at line 25 of file static_lifetime_init.cpp.

◆  static_lifetime_init() [2/2]

void static_lifetime_init ( symbol_table_basetsymbol_table,
const source_locationtsource_location 
)

Definition at line 104 of file static_lifetime_init.cpp.

AltStyle によって変換されたページ (->オリジナル) /