@@ -11,27 +11,13 @@ Author: Daniel Kroening, kroening@kroening.com
1111
1212#include " jbmc_parse_options.h"
1313
14- #include < cstdlib> // exit()
15- #include < iostream>
16- #include < memory>
17-
1814#include < util/config.h>
1915#include < util/exit_codes.h>
2016#include < util/invariant.h>
2117#include < util/make_unique.h>
2218#include < util/version.h>
2319#include < util/xml.h>
2420
25- #include < langapi/language.h>
26-
27- #include < ansi-c/ansi_c_language.h>
28-
29- #include < goto-checker/all_properties_verifier.h>
30- #include < goto-checker/all_properties_verifier_with_fault_localization.h>
31- #include < goto-checker/all_properties_verifier_with_trace_storage.h>
32- #include < goto-checker/stop_on_fail_verifier.h>
33- #include < goto-checker/stop_on_fail_verifier_with_fault_localization.h>
34-
3521#include < goto-programs/adjust_float_expressions.h>
3622#include < goto-programs/goto_convert_functions.h>
3723#include < goto-programs/instrument_preconditions.h>
@@ -45,18 +31,17 @@ Author: Daniel Kroening, kroening@kroening.com
4531#include < goto-programs/show_properties.h>
4632#include < goto-programs/show_symbol_table.h>
4733
34+ #include < analyses/goto_check.h>
35+ #include < ansi-c/ansi_c_language.h>
36+ #include < goto-checker/all_properties_verifier.h>
37+ #include < goto-checker/all_properties_verifier_with_fault_localization.h>
38+ #include < goto-checker/all_properties_verifier_with_trace_storage.h>
39+ #include < goto-checker/stop_on_fail_verifier.h>
40+ #include < goto-checker/stop_on_fail_verifier_with_fault_localization.h>
4841#include < goto-instrument/full_slicer.h>
4942#include < goto-instrument/nondet_static.h>
5043#include < goto-instrument/reachability_slicer.h>
51-
5244#include < goto-symex/path_storage.h>
53-
54- #include < linking/static_lifetime_init.h>
55-
56- #include < pointer-analysis/add_failed_symbols.h>
57-
58- #include < langapi/mode.h>
59-
6045#include < java_bytecode/convert_java_nondet.h>
6146#include < java_bytecode/java_bytecode_language.h>
6247#include < java_bytecode/java_multi_path_symex_checker.h>
@@ -69,6 +54,14 @@ Author: Daniel Kroening, kroening@kroening.com
6954#include < java_bytecode/remove_java_new.h>
7055#include < java_bytecode/replace_java_nondet.h>
7156#include < java_bytecode/simple_method_stubbing.h>
57+ #include < langapi/language.h>
58+ #include < langapi/mode.h>
59+ #include < linking/static_lifetime_init.h>
60+ #include < pointer-analysis/add_failed_symbols.h>
61+
62+ #include < cstdlib> // exit()
63+ #include < iostream>
64+ #include < memory>
7265
7366jbmc_parse_optionst::jbmc_parse_optionst (int argc, const char **argv)
7467 : parse_options_baset(
@@ -806,13 +799,7 @@ void jbmc_parse_optionst::process_goto_function(
806799 ui_message_handler);
807800 }
808801
809- // add generic checks
810- goto_check_java (
811- function.get_function_id (),
812- function.get_goto_function (),
813- ns,
814- options,
815- ui_message_handler);
802+ transform_assertions_assumptions (options, function.get_goto_function ().body );
816803
817804 // Replace Java new side effects
818805 remove_java_new (
0 commit comments