cprover
string_instrumentation.cpp File Reference

String Abstraction. More...

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

Go to the source code of this file.

Classes

class  string_instrumentationt
 

Functions

predicate_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_tablet &symbol_table, message_handlert &message_handler, goto_programt &dest)
 
void string_instrumentation (symbol_tablet &symbol_table, message_handlert &message_handler, goto_functionst &dest)
 
void string_instrumentation (goto_modelt &goto_model, message_handlert &message_handler)
 

Detailed Description

String Abstraction.

Definition in file string_instrumentation.cpp.

Function Documentation

◆ buffer_size()

exprt buffer_size ( const exprt what)

Definition at line 48 of file string_instrumentation.cpp.

◆ is_zero_string()

predicate_exprt is_zero_string ( const exprt what,
bool  write 
)

Definition at line 30 of file string_instrumentation.cpp.

◆ string_instrumentation() [1/3]

void string_instrumentation ( goto_modelt goto_model,
message_handlert message_handler 
)

Definition at line 175 of file string_instrumentation.cpp.

◆ string_instrumentation() [2/3]

void string_instrumentation ( symbol_tablet symbol_table,
message_handlert message_handler,
goto_functionst dest 
)

Definition at line 166 of file string_instrumentation.cpp.

◆ string_instrumentation() [3/3]

void string_instrumentation ( symbol_tablet symbol_table,
message_handlert message_handler,
goto_programt dest 
)

Definition at line 157 of file string_instrumentation.cpp.

◆ zero_string_length()

exprt zero_string_length ( const exprt what,
bool  write 
)

Definition at line 38 of file string_instrumentation.cpp.