18 const std::set<irep_idt> &functions,
21 std::ostringstream library_text;
23 library_text <<
"#line 1 \"<builtin-library>\"\n"
30 #include "cprover_library.inc"
35 functions, symbol_table, cprover_library, library_text.str());
39 const std::set<irep_idt> &functions,
47 const std::string library_text =
50 add_library(library_text, dest_symbol_table, message_handler);
std::string get_cprover_library_text(const std::set< irep_idt > &functions, const symbol_table_baset &symbol_table, const struct cprover_library_entryt cprover_library[], const std::string &prologue, const bool force_load)
void add_library(const std::string &src, symbol_table_baset &symbol_table, message_handlert &message_handler, const std::set< irep_idt > &keep)
Parses and typechecks the given src and adds its contents to the symbol table.
struct configt::ansi_ct ansi_c
The symbol table base class interface.
void cprover_cpp_library_factory(const std::set< irep_idt > &functions, const symbol_table_baset &symbol_table, symbol_table_baset &dest_symbol_table, message_handlert &message_handler)