19 const std::set<irep_idt> &functions,
29 << std::to_string(
config.
ansi_c.malloc_failure_mode_return_null)
32 "malloc_failure_mode_assert_then_assume "
37 << std::to_string(
config.
ansi_c.malloc_may_fail) <<
"\n";
40 "#line 1 \"<builtin-library>\"\n"
50#include "cprover_library.inc"
59 const std::set<irep_idt> &functions,
75 if(functions.find(
id)!=functions.end())
77 symbol_tablet::symbolst::const_iterator old=
80 if(old!=symbol_table.
symbols.end() &&
81 old->second.value.is_nil())
96 const std::set<irep_idt> &functions,
111 const std::string &src,
118 std::istringstream in(src);
void cprover_c_library_factory(const std::set< irep_idt > &functions, symbol_tablet &symbol_table, message_handlert &message_handler)
void add_library(const std::string &src, symbol_tablet &symbol_table, message_handlert &message_handler)
static std::string get_cprover_library_text(const std::set< irep_idt > &functions, const symbol_tablet &symbol_table)
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
struct configt::ansi_ct ansi_c
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
const symbolst & symbols
Read-only field, used to look up symbols given their names.