CBMC
string_instrumentation.cpp File Reference

String Abstraction. More...

#include "string_instrumentation.h"
#include <util/arith_tools.h>
#include <util/c_types.h>
#include <util/config.h>
#include <util/pointer_expr.h>
#include <util/std_code.h>
#include <util/string_constant.h>
#include <goto-programs/goto_model.h>
#include <goto-programs/remove_skip.h>
#include "format_strings.h"
#include <algorithm>
+ Include dependency graph for string_instrumentation.cpp:

Go to the source code of this file.

Classes

class  string_instrumentationt
 

Functions

exprt is_zero_string (const exprt &what, bool write)
 
exprt zero_string_length (const exprt &what, bool write)
 
exprt buffer_size (const exprt &what)
 
void string_instrumentation (symbol_table_baset &symbol_table, goto_programt &dest)
 
void string_instrumentation (symbol_table_baset &symbol_table, goto_functionst &dest)
 
void string_instrumentation (goto_modelt &goto_model)
 

Detailed Description

String Abstraction.

Definition in file string_instrumentation.cpp.

Function Documentation

◆ buffer_size()

exprt buffer_size ( const exprt what)

Definition at line 44 of file string_instrumentation.cpp.

◆ is_zero_string()

exprt is_zero_string ( const exprt what,
bool  write 
)

Definition at line 28 of file string_instrumentation.cpp.

◆ string_instrumentation() [1/3]

void string_instrumentation ( goto_modelt goto_model)

Definition at line 170 of file string_instrumentation.cpp.

◆ string_instrumentation() [2/3]

void string_instrumentation ( symbol_table_baset symbol_table,
goto_functionst dest 
)

Definition at line 162 of file string_instrumentation.cpp.

◆ string_instrumentation() [3/3]

void string_instrumentation ( symbol_table_baset symbol_table,
goto_programt dest 
)

Definition at line 154 of file string_instrumentation.cpp.

◆ zero_string_length()

exprt zero_string_length ( const exprt what,
bool  write 
)

Definition at line 36 of file string_instrumentation.cpp.