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>
@@ -678,18 +671,7 @@ bool jbmc_parse_optionst::process_goto_functions(
678
671
{
679
672
remove_java_new (goto_model, get_message_handler ());
680
673
681
- // add the library
682
- link_to_library (goto_model, get_message_handler ());
683
-
684
- if (cmdline.isset (" string-abstraction" ))
685
- string_instrumentation (goto_model, get_message_handler ());
686
-
687
- // remove function pointers
688
- status () << " Removal of function pointers and virtual functions" << eom;
689
- remove_function_pointers (
690
- get_message_handler (),
691
- goto_model,
692
- cmdline.isset (" pointer-check" ));
674
+ status () << " Removal of virtual functions" << eom;
693
675
// Java virtual functions -> explicit dispatch tables:
694
676
remove_virtual_functions (goto_model);
695
677
// remove catch and throw (introduces instanceof)
@@ -702,9 +684,6 @@ bool jbmc_parse_optionst::process_goto_functions(
702
684
703
685
// remove returns, gcc vectors, complex
704
686
remove_returns (goto_model);
705
- remove_vector (goto_model);
706
- remove_complex (goto_model);
707
- rewrite_union (goto_model);
708
687
709
688
// Similar removal of java nondet statements:
710
689
// TODO Should really get this from java_bytecode_language somehow, but we
@@ -746,14 +725,6 @@ bool jbmc_parse_optionst::process_goto_functions(
746
725
nondet_static (goto_model);
747
726
}
748
727
749
- if (cmdline.isset (" string-abstraction" ))
750
- {
751
- status () << " String Abstraction" << eom;
752
- string_abstraction (
753
- goto_model,
754
- get_message_handler ());
755
- }
756
-
757
728
// add failed symbols
758
729
// needs to be done before pointer analysis
759
730
add_failed_symbols (goto_model.symbol_table );
@@ -884,7 +855,6 @@ void jbmc_parse_optionst::help()
884
855
" --stop-on-fail stop analysis once a failed property is detected\n " // NOLINT(*)
885
856
" --trace give a counterexample trace for failed properties\n " // NOLINT(*)
886
857
" \n "
887
- " --no-library disable built-in abstract Java library\n "
888
858
HELP_FUNCTIONS
889
859
" \n "
890
860
" Program representations:\n "
0 commit comments