File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 36
36
#include < goto-programs/goto_inline.h>
37
37
#include < goto-programs/xml_goto_trace.h>
38
38
#include < goto-programs/remove_complex.h>
39
+ #include < goto-programs/remove_function_pointers.h>
39
40
#include < goto-programs/remove_vector.h>
40
41
#include < goto-programs/remove_virtual_functions.h>
41
42
#include < goto-programs/remove_exceptions.h>
@@ -304,6 +305,12 @@ bool symex_parse_optionst::process_goto_program(const optionst &options)
304
305
// remove stuff
305
306
remove_complex (goto_model);
306
307
remove_vector (goto_model);
308
+ // remove function pointers
309
+ status () << " Removal of function pointers and virtual functions" << eom;
310
+ remove_function_pointers (
311
+ get_message_handler (),
312
+ goto_model,
313
+ cmdline.isset (" pointer-check" ));
307
314
// Java virtual functions -> explicit dispatch tables:
308
315
remove_virtual_functions (goto_model);
309
316
// Java throw and catch -> explicit exceptional return variables:
You can’t perform that action at this time.
0 commit comments