cprover
|
Program Transformation. More...
#include "remove_function_pointers.h"
#include <cassert>
#include <util/fresh_symbol.h>
#include <util/replace_expr.h>
#include <util/source_location.h>
#include <util/std_expr.h>
#include <util/type_eq.h>
#include <util/message.h>
#include <util/base_type.h>
#include <ansi-c/c_qualifiers.h>
#include <analyses/does_remove_const.h>
#include <util/invariant.h>
#include <util/c_types.h>
#include "remove_skip.h"
#include "compute_called_functions.h"
#include "remove_const_function_pointers.h"
Go to the source code of this file.
Classes | |
class | remove_function_pointerst |
Functions | |
bool | remove_function_pointers (message_handlert &_message_handler, symbol_tablet &symbol_table, const goto_functionst &goto_functions, goto_programt &goto_program, bool add_safety_assertion, bool only_remove_const_fps) |
void | remove_function_pointers (message_handlert &_message_handler, symbol_tablet &symbol_table, goto_functionst &goto_functions, bool add_safety_assertion, bool only_remove_const_fps) |
void | remove_function_pointers (message_handlert &_message_handler, goto_modelt &goto_model, bool add_safety_assertion, bool only_remove_const_fps) |
Program Transformation.
Definition in file remove_function_pointers.cpp.
bool remove_function_pointers | ( | message_handlert & | _message_handler, |
symbol_tablet & | symbol_table, | ||
const goto_functionst & | goto_functions, | ||
goto_programt & | goto_program, | ||
bool | add_safety_assertion, | ||
bool | only_remove_const_fps | ||
) |
Definition at line 481 of file remove_function_pointers.cpp.
References remove_function_pointerst::remove_function_pointers().
Referenced by goto_instrument_parse_optionst::do_indirect_call_and_rtti_removal(), goto_instrument_parse_optionst::do_remove_const_function_pointers_only(), goto_fence_inserter_parse_optionst::instrument_goto_program(), goto_diff_parse_optionst::process_goto_program(), symex_parse_optionst::process_goto_program(), goto_analyzer_parse_optionst::process_goto_program(), and cbmc_parse_optionst::process_goto_program().
void remove_function_pointers | ( | message_handlert & | _message_handler, |
symbol_tablet & | symbol_table, | ||
goto_functionst & | goto_functions, | ||
bool | add_safety_assertion, | ||
bool | only_remove_const_fps | ||
) |
Definition at line 499 of file remove_function_pointers.cpp.
void remove_function_pointers | ( | message_handlert & | _message_handler, |
goto_modelt & | goto_model, | ||
bool | add_safety_assertion, | ||
bool | only_remove_const_fps | ||
) |
Definition at line 517 of file remove_function_pointers.cpp.
References goto_modelt::goto_functions, remove_function_pointerst::remove_function_pointers(), and goto_modelt::symbol_table.