CBMC
string_instrumentation.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: String Abstraction
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_GOTO_PROGRAMS_STRING_INSTRUMENTATION_H
13 #define CPROVER_GOTO_PROGRAMS_STRING_INSTRUMENTATION_H
14 
15 class exprt;
16 class goto_functionst;
17 class goto_modelt;
18 class goto_programt;
19 class symbol_tablet;
20 
22  symbol_tablet &,
23  goto_programt &);
24 
26  symbol_tablet &,
27  goto_functionst &);
28 
30 
31 exprt is_zero_string(const exprt &what, bool write = false);
32 exprt zero_string_length(const exprt &what, bool write=false);
33 exprt buffer_size(const exprt &what);
34 
35 #endif // CPROVER_GOTO_PROGRAMS_STRING_INSTRUMENTATION_H
symbol_tablet
The symbol table.
Definition: symbol_table.h:13
exprt
Base class for all expressions.
Definition: expr.h:55
goto_modelt
Definition: goto_model.h:25
buffer_size
exprt buffer_size(const exprt &what)
Definition: string_instrumentation.cpp:46
is_zero_string
exprt is_zero_string(const exprt &what, bool write=false)
Definition: string_instrumentation.cpp:28
string_instrumentation
void string_instrumentation(symbol_tablet &, goto_programt &)
Definition: string_instrumentation.cpp:162
goto_functionst
A collection of goto functions.
Definition: goto_functions.h:24
zero_string_length
exprt zero_string_length(const exprt &what, bool write=false)
Definition: string_instrumentation.cpp:36
goto_programt
A generic container class for the GOTO intermediate representation of one function.
Definition: goto_program.h:72