|
40 | 40 | #include <goto-checker/multi_path_symex_checker.h>
|
41 | 41 | #include <goto-checker/multi_path_symex_only_checker.h>
|
42 | 42 | #include <goto-checker/properties.h>
|
| 43 | +#include <goto-checker/single_path_symex_only_checker.h> |
43 | 44 | #include <goto-checker/stop_on_fail_verifier.h>
|
44 | 45 |
|
45 | 46 | #include <goto-programs/adjust_float_expressions.h>
|
@@ -559,13 +560,22 @@ int cbmc_parse_optionst::doit()
|
559 | 560 | options.get_bool_option("program-only") ||
|
560 | 561 | options.get_bool_option("show-vcc"))
|
561 | 562 | {
|
562 |
| - if(!options.get_bool_option("paths")) |
| 563 | + std::unique_ptr<goto_verifiert> verifier; |
| 564 | + if(options.get_bool_option("paths")) |
563 | 565 | {
|
564 |
| - all_properties_verifiert<multi_path_symex_only_checkert> verifier( |
| 566 | + verifier = util_make_unique< |
| 567 | + all_properties_verifiert<single_path_symex_only_checkert>>( |
565 | 568 | options, ui_message_handler, goto_model);
|
566 |
| - (void)verifier(); |
567 |
| - return CPROVER_EXIT_SUCCESS; |
568 | 569 | }
|
| 570 | + else |
| 571 | + { |
| 572 | + verifier = util_make_unique< |
| 573 | + all_properties_verifiert<multi_path_symex_only_checkert>>( |
| 574 | + options, ui_message_handler, goto_model); |
| 575 | + } |
| 576 | + |
| 577 | + (void)(*verifier)(); |
| 578 | + return CPROVER_EXIT_SUCCESS; |
569 | 579 | }
|
570 | 580 |
|
571 | 581 | if(
|
|
0 commit comments