|
CBMC
|
Collaboration diagram for remove_function_pointerst:Public Member Functions | |
| remove_function_pointerst (message_handlert &_message_handler, symbol_tablet &_symbol_table, bool only_resolve_const_fps, const goto_functionst &goto_functions) | |
| void | operator() (goto_functionst &goto_functions) |
| bool | remove_function_pointers (goto_programt &goto_program, const irep_idt &function_id) |
Protected Types | |
| typedef std::map< irep_idt, code_typet > | type_mapt |
Protected Member Functions | |
| void | remove_function_pointer (goto_programt &goto_program, const irep_idt &function_id, goto_programt::targett target) |
| Replace a call to a dynamic function at location target in the given goto-program by determining functions that have a compatible signature. More... | |
Protected Attributes | |
| message_handlert & | message_handler |
| const namespacet | ns |
| symbol_tablet & | symbol_table |
| bool | only_resolve_const_fps |
| std::unordered_set< irep_idt > | address_taken |
| type_mapt | type_map |
Definition at line 34 of file remove_function_pointers.cpp.
|
protected |
Definition at line 75 of file remove_function_pointers.cpp.
| remove_function_pointerst::remove_function_pointerst | ( | message_handlert & | _message_handler, |
| symbol_tablet & | _symbol_table, | ||
| bool | only_resolve_const_fps, | ||
| const goto_functionst & | goto_functions | ||
| ) |
Definition at line 79 of file remove_function_pointers.cpp.
| void remove_function_pointerst::operator() | ( | goto_functionst & | goto_functions | ) |
Definition at line 514 of file remove_function_pointers.cpp.
|
protected |
Replace a call to a dynamic function at location target in the given goto-program by determining functions that have a compatible signature.
| goto_program | The goto program that contains target |
| function_id | Name of function containing the target |
| target | location with function call with function pointer |
Definition at line 244 of file remove_function_pointers.cpp.
| bool remove_function_pointerst::remove_function_pointers | ( | goto_programt & | goto_program, |
| const irep_idt & | function_id | ||
| ) |
Definition at line 492 of file remove_function_pointers.cpp.
|
protected |
Definition at line 73 of file remove_function_pointers.cpp.
|
protected |
Definition at line 50 of file remove_function_pointers.cpp.
|
protected |
Definition at line 51 of file remove_function_pointers.cpp.
|
protected |
Definition at line 60 of file remove_function_pointers.cpp.
|
protected |
Definition at line 52 of file remove_function_pointers.cpp.
|
protected |
Definition at line 76 of file remove_function_pointers.cpp.