|
37 | 37 | #include <goto-checker/multi_path_symex_checker.h>
|
38 | 38 | #include <goto-checker/multi_path_symex_only_checker.h>
|
39 | 39 | #include <goto-checker/properties.h>
|
| 40 | +#include <goto-checker/single_path_symex_only_checker.h> |
40 | 41 | #include <goto-checker/stop_on_fail_verifier.h>
|
41 | 42 |
|
42 | 43 | #include <goto-programs/adjust_float_expressions.h>
|
@@ -549,13 +550,22 @@ int cbmc_parse_optionst::doit()
|
549 | 550 | options.get_bool_option("program-only") ||
|
550 | 551 | options.get_bool_option("show-vcc"))
|
551 | 552 | {
|
552 |
| - if(!options.get_bool_option("paths")) |
| 553 | + std::unique_ptr<goto_verifiert> verifier; |
| 554 | + if(options.get_bool_option("paths")) |
553 | 555 | {
|
554 |
| - all_properties_verifiert<multi_path_symex_only_checkert> verifier( |
| 556 | + verifier = util_make_unique< |
| 557 | + all_properties_verifiert<single_path_symex_only_checkert>>( |
555 | 558 | options, ui_message_handler, goto_model);
|
556 |
| - (void)verifier(); |
557 |
| - return CPROVER_EXIT_SUCCESS; |
558 | 559 | }
|
| 560 | + else |
| 561 | + { |
| 562 | + verifier = util_make_unique< |
| 563 | + all_properties_verifiert<multi_path_symex_only_checkert>>( |
| 564 | + options, ui_message_handler, goto_model); |
| 565 | + } |
| 566 | + |
| 567 | + (void)(*verifier)(); |
| 568 | + return CPROVER_EXIT_SUCCESS; |
559 | 569 | }
|
560 | 570 |
|
561 | 571 | if(
|
|
0 commit comments