|
cprover
|
#include <system_library_symbols.h>
Public Member Functions | |
| system_library_symbolst (bool init) | |
| system_library_symbolst () | |
| bool | is_symbol_internal_symbol (const symbolt &symbol, std::set< std::string > &out_system_headers) const |
| To find out if a symbol is an internal symbol. | |
| void | set_use_all_headers (bool use) |
Private Member Functions | |
| void | init_system_library_map () |
| To generate a map of header file names -> list of symbols The symbol names are reserved as the header and source files will be compiled in to the goto program. | |
| void | add_to_system_library (irep_idt header_file, std::list< irep_idt > symbols) |
| To add the symbols from a specific header file to the system library map. | |
Private Attributes | |
| std::map< irep_idt, irep_idt > | system_library_map |
| bool | use_all_headers |
Definition at line 23 of file system_library_symbols.h.
|
explicit |
Definition at line 19 of file system_library_symbols.cpp.
|
inline |
Definition at line 28 of file system_library_symbols.h.
|
private |
To add the symbols from a specific header file to the system library map.
The symbol is used as the key so that we can easily look up symbols.
| header_file | the name of the header file the symbol came from |
| symbols | a list of the names of the symbols in the header file |
Definition at line 245 of file system_library_symbols.cpp.
|
private |
To generate a map of header file names -> list of symbols The symbol names are reserved as the header and source files will be compiled in to the goto program.
Definition at line 29 of file system_library_symbols.cpp.
| bool system_library_symbolst::is_symbol_internal_symbol | ( | const symbolt & | symbol, |
| std::set< std::string > & | out_system_headers ) const |
To find out if a symbol is an internal symbol.
| symbol | the symbol to check | |
| [out] | out_system_headers | specific system headers that need to be included |
Definition at line 260 of file system_library_symbols.cpp.
|
inline |
Definition at line 37 of file system_library_symbols.h.
Definition at line 49 of file system_library_symbols.h.
|
private |
Definition at line 50 of file system_library_symbols.h.