CBMC
|
#include <replace_calls.h>
Public Types | |
typedef std::list< std::string > | replacement_listt |
typedef std::map< irep_idt, irep_idt > | replacement_mapt |
Public Member Functions | |
void | operator() (goto_modelt &goto_model, const replacement_listt &replacement_list) const |
Replace function calls with calls to other functions. More... | |
void | operator() (goto_modelt &goto_model, const replacement_mapt &replacement_map) const |
Replace function calls with calls to other functions. More... | |
Protected Member Functions | |
void | operator() (goto_programt &goto_program, const goto_functionst &goto_functions, const namespacet &ns, const replacement_mapt &replacement_map) const |
replacement_mapt | parse_replacement_list (const replacement_listt &replacement_list) const |
void | check_replacement_map (const replacement_mapt &replacement_map, const goto_functionst &goto_functions, const namespacet &ns) const |
Definition at line 26 of file replace_calls.h.
typedef std::list<std::string> replace_callst::replacement_listt |
Definition at line 29 of file replace_calls.h.
typedef std::map<irep_idt, irep_idt> replace_callst::replacement_mapt |
Definition at line 30 of file replace_calls.h.
|
protected |
Definition at line 140 of file replace_calls.cpp.
void replace_callst::operator() | ( | goto_modelt & | goto_model, |
const replacement_listt & | replacement_list | ||
) | const |
Replace function calls with calls to other functions.
goto_model | goto model to modify |
replacement_list | list of strings, with each string f:g denoting a mapping between functions names; a mapping f -> g indicates that calls to f should be replaced by calls to g |
Definition at line 29 of file replace_calls.cpp.
void replace_callst::operator() | ( | goto_modelt & | goto_model, |
const replacement_mapt & | replacement_map | ||
) | const |
Replace function calls with calls to other functions.
goto_model | goto model to modify |
replacement_map | mapping between function names; a mapping f -> g indicates that calls to f should be replaced by calls to g |
Definition at line 41 of file replace_calls.cpp.
|
protected |
Definition at line 59 of file replace_calls.cpp.
|
protected |
Definition at line 115 of file replace_calls.cpp.