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