File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,10 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
279
279
280
280
// generate unwinding assertions
281
281
if (cmdline.isset (" unwinding-assertions" ))
282
+ {
282
283
options.set_option (" unwinding-assertions" , true );
284
+ options.set_option (" paths-symex-explore-all" , true );
285
+ }
283
286
284
287
if (cmdline.isset (" partial-loops" ))
285
288
options.set_option (" partial-loops" , true );
@@ -416,9 +419,12 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
416
419
}
417
420
418
421
if (cmdline.isset (" symex-coverage-report" ))
422
+ {
419
423
options.set_option (
420
424
" symex-coverage-report" ,
421
425
cmdline.get_value (" symex-coverage-report" ));
426
+ options.set_option (" paths-symex-explore-all" , true );
427
+ }
422
428
423
429
if (cmdline.isset (" validate-ssa-equation" ))
424
430
{
Original file line number Diff line number Diff line change @@ -70,7 +70,9 @@ operator()(propertiest &properties)
70
70
goto_symext::get_goto_function (goto_model), symex_symbol_table);
71
71
}
72
72
73
- while (!worklist->empty ())
73
+ while (!worklist->empty () &&
74
+ (options.get_bool_option (" paths-symex-explore-all" ) ||
75
+ has_properties_to_check (properties)))
74
76
{
75
77
path_storaget::patht &resume = worklist->peek ();
76
78
symex_bmct symex (
Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ operator()(propertiest &properties)
53
53
goto_symext::get_goto_function (goto_model), symex_symbol_table);
54
54
}
55
55
56
- while (!worklist->empty ())
56
+ while (!worklist->empty () &&
57
+ (options.get_bool_option (" paths-symex-explore-all" ) ||
58
+ has_properties_to_check (properties)))
57
59
{
58
60
path_storaget::patht &resume = worklist->peek ();
59
61
symex_bmct symex (
You can’t perform that action at this time.
0 commit comments