30
30
#include < goto-programs/instrument_preconditions.h>
31
31
#include < goto-programs/goto_convert_functions.h>
32
32
#include < goto-programs/goto_inline.h>
33
- #include < goto-programs/link_to_library.h>
34
33
#include < goto-programs/loop_ids.h>
35
- #include < goto-programs/remove_function_pointers.h>
36
34
#include < goto-programs/remove_virtual_functions.h>
37
35
#include < goto-programs/remove_instanceof.h>
38
36
#include < goto-programs/remove_returns.h>
39
37
#include < goto-programs/remove_exceptions.h>
40
- #include < goto-programs/remove_vector.h>
41
- #include < goto-programs/remove_complex.h>
42
38
#include < goto-programs/remove_asm.h>
43
39
#include < goto-programs/remove_unused_functions.h>
44
40
#include < goto-programs/remove_skip.h>
48
44
#include < goto-programs/show_goto_functions.h>
49
45
#include < goto-programs/show_symbol_table.h>
50
46
#include < goto-programs/show_properties.h>
51
- #include < goto-programs/string_abstraction.h>
52
- #include < goto-programs/string_instrumentation.h>
53
47
#include < goto-programs/remove_java_new.h>
54
48
55
- #include < goto-symex/rewrite_union.h>
56
49
#include < goto-symex/adjust_float_expressions.h>
57
50
58
51
#include < goto-instrument/full_slicer.h>
@@ -682,18 +675,7 @@ bool jbmc_parse_optionst::process_goto_functions(
682
675
{
683
676
remove_java_new (goto_model, get_message_handler ());
684
677
685
- // add the library
686
- link_to_library (goto_model, get_message_handler ());
687
-
688
- if (cmdline.isset (" string-abstraction" ))
689
- string_instrumentation (goto_model, get_message_handler ());
690
-
691
- // remove function pointers
692
- status () << " Removal of function pointers and virtual functions" << eom;
693
- remove_function_pointers (
694
- get_message_handler (),
695
- goto_model,
696
- cmdline.isset (" pointer-check" ));
678
+ status () << " Removal of virtual functions" << eom;
697
679
// Java virtual functions -> explicit dispatch tables:
698
680
remove_virtual_functions (goto_model);
699
681
// remove catch and throw (introduces instanceof but request it is removed)
@@ -705,9 +687,6 @@ bool jbmc_parse_optionst::process_goto_functions(
705
687
706
688
// remove returns, gcc vectors, complex
707
689
remove_returns (goto_model);
708
- remove_vector (goto_model);
709
- remove_complex (goto_model);
710
- rewrite_union (goto_model);
711
690
712
691
// Similar removal of java nondet statements:
713
692
// TODO Should really get this from java_bytecode_language somehow, but we
@@ -749,14 +728,6 @@ bool jbmc_parse_optionst::process_goto_functions(
749
728
nondet_static (goto_model);
750
729
}
751
730
752
- if (cmdline.isset (" string-abstraction" ))
753
- {
754
- status () << " String Abstraction" << eom;
755
- string_abstraction (
756
- goto_model,
757
- get_message_handler ());
758
- }
759
-
760
731
// add failed symbols
761
732
// needs to be done before pointer analysis
762
733
add_failed_symbols (goto_model.symbol_table );
@@ -887,7 +858,6 @@ void jbmc_parse_optionst::help()
887
858
" --stop-on-fail stop analysis once a failed property is detected\n " // NOLINT(*)
888
859
" --trace give a counterexample trace for failed properties\n " // NOLINT(*)
889
860
" \n "
890
- " --no-library disable built-in abstract Java library\n "
891
861
HELP_FUNCTIONS
892
862
" \n "
893
863
" Program representations:\n "
0 commit comments