File tree 2 files changed +5
-0
lines changed 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -459,6 +459,9 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
459
459
if (cmdline.isset (" cover-function-only" ))
460
460
options.set_option (" cover-function-only" , true );
461
461
462
+ if (cmdline.isset (" assertions-as-assumptions" ))
463
+ options.set_option (" assertions-as-assumptions" , true );
464
+
462
465
if (cmdline.isset (" java-disable-mocks" ))
463
466
options.set_option (" java-disable-mocks" , true );
464
467
}
@@ -1174,6 +1177,7 @@ void cbmc_parse_optionst::help()
1174
1177
" --main-class class-name set the name of the main class\n "
1175
1178
" --gen-java-test-case generate test case\n "
1176
1179
" --cover-function-only add coverage instrumentation only to the entry function"
1180
+ " --assertions-as-assumptions convert assertions from generic checks into assumptions"
1177
1181
" \n "
1178
1182
" Semantic transformations:\n "
1179
1183
" --nondet-static add nondeterministic initialization of variables with static lifetime\n "
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ class optionst;
45
45
" (stop-on-fail)(trace)" \
46
46
" (error-label):(verbosity):(no-library)" \
47
47
" (version)" \
48
+ " (assertions-as-assumptions)" \
48
49
" (cover):(cover-function-only)" \
49
50
" (mm):" \
50
51
" (i386-linux)(i386-macos)(i386-win32)(win32)(winx64)(gcc)" \
You can’t perform that action at this time.
0 commit comments