cprover
|
String Abstraction. More...
#include "string_instrumentation.h"
#include <algorithm>
#include <util/std_expr.h>
#include <util/std_code.h>
#include <util/message.h>
#include <util/arith_tools.h>
#include <util/config.h>
#include <util/symbol_table.h>
#include <goto-programs/format_strings.h>
#include <util/c_types.h>
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_tablet &symbol_table, message_handlert &message_handler, goto_programt &dest) |
void | string_instrumentation (symbol_tablet &symbol_table, message_handlert &message_handler, goto_functionst &dest) |
String Abstraction.
Definition in file string_instrumentation.cpp.
Definition at line 46 of file string_instrumentation.cpp.
References exprt::copy_to_operands(), and size_type().
Referenced by string_instrumentationt::do_format_string_write(), string_instrumentationt::do_snprintf(), and string_instrumentationt::invalidate_buffer().
Definition at line 26 of file string_instrumentation.cpp.
References exprt::copy_to_operands(), and irept::set().
Referenced by string_instrumentationt::do_format_string_read(), string_instrumentationt::do_strchr(), string_instrumentationt::do_strerror(), string_instrumentationt::do_strrchr(), string_instrumentationt::do_strstr(), and string_instrumentationt::do_strtok().
void string_instrumentation | ( | symbol_tablet & | symbol_table, |
message_handlert & | message_handler, | ||
goto_programt & | dest | ||
) |
Definition at line 155 of file string_instrumentation.cpp.
References string_instrumentation().
Referenced by cbmc_parse_optionst::process_goto_program(), and string_instrumentation().
void string_instrumentation | ( | symbol_tablet & | symbol_table, |
message_handlert & | message_handler, | ||
goto_functionst & | dest | ||
) |
Definition at line 164 of file string_instrumentation.cpp.
References string_instrumentation().
Definition at line 36 of file string_instrumentation.cpp.
References exprt::copy_to_operands(), irept::set(), and size_type().