|
27 | 27 |
|
28 | 28 | #include <ansi-c/ansi_c_language.h>
|
29 | 29 |
|
| 30 | +#include <goto-checker/all_properties_verifier.h> |
| 31 | + |
30 | 32 | #include <goto-programs/adjust_float_expressions.h>
|
31 | 33 | #include <goto-programs/lazy_goto_model.h>
|
32 | 34 | #include <goto-programs/instrument_preconditions.h>
|
|
60 | 62 | #include <java_bytecode/convert_java_nondet.h>
|
61 | 63 | #include <java_bytecode/java_bytecode_language.h>
|
62 | 64 | #include <java_bytecode/java_enum_static_init_unwind_handler.h>
|
| 65 | +#include <java_bytecode/java_multi_path_symex_only_checker.h> |
63 | 66 | #include <java_bytecode/remove_exceptions.h>
|
64 | 67 | #include <java_bytecode/remove_instanceof.h>
|
65 | 68 | #include <java_bytecode/remove_java_new.h>
|
@@ -563,6 +566,19 @@ int jbmc_parse_optionst::doit()
|
563 | 566 | goto_model.validate(validation_modet::INVARIANT);
|
564 | 567 | }
|
565 | 568 |
|
| 569 | + if( |
| 570 | + options.get_bool_option("program-only") || |
| 571 | + options.get_bool_option("show-vcc")) |
| 572 | + { |
| 573 | + if(!options.get_bool_option("paths")) |
| 574 | + { |
| 575 | + all_properties_verifiert<java_multi_path_symex_only_checkert> verifier( |
| 576 | + options, ui_message_handler, goto_model); |
| 577 | + (void)verifier(); |
| 578 | + return CPROVER_EXIT_SUCCESS; |
| 579 | + } |
| 580 | + } |
| 581 | + |
566 | 582 | // The `configure_bmc` callback passed will enable enum-unwind-static if
|
567 | 583 | // applicable.
|
568 | 584 | return bmct::do_language_agnostic_bmc(
|
|
0 commit comments