Skip to content

Commit b200bbd

Browse files
author
kroening
committed
cover-assertions needs no unwinding assertions
git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@1059 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
1 parent c04c4ab commit b200bbd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/cbmc/parseoptions.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,11 @@ void cbmc_parseoptionst::get_command_line_options(optionst &options)
221221
options.set_option("error-label", cmdline.getval("error-label"));
222222

223223
// generate unwinding assertions
224-
options.set_option("unwinding-assertions",
225-
!cmdline.isset("no-unwinding-assertions"));
224+
if(cmdline.isset("cover-assertions"))
225+
options.set_option("unwinding-assertions", false);
226+
else
227+
options.set_option("unwinding-assertions",
228+
!cmdline.isset("no-unwinding-assertions"));
226229

227230
// generate unwinding assumptions otherwise
228231
options.set_option("partial-loops",

0 commit comments

Comments
 (0)