Skip to content

Commit 59635ce

Browse files
committed
Mark --full-slice as unsound in cbmc and goto-instrument output.
1 parent 50b8fb8 commit 59635ce

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/cbmc/cbmc_parse_options.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,7 @@ bool cbmc_parse_optionst::process_goto_program(
857857
// full slice?
858858
if(options.get_bool_option("full-slice"))
859859
{
860+
log.warning() << "WARNING: Unsound option --full-slice" << messaget::eom;
860861
log.status() << "Performing a full slice" << messaget::eom;
861862
if(options.is_set("property"))
862863
property_slicer(goto_model, options.get_list_option("property"));

src/goto-instrument/goto_instrument_parse_options.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,9 @@ void goto_instrument_parse_optionst::instrument_goto_program()
16321632
do_indirect_call_and_rtti_removal();
16331633
do_remove_returns();
16341634

1635+
log.warning() << "WARNING: Unsound option --full-slice" << messaget::eom;
16351636
log.status() << "Performing a full slice" << messaget::eom;
1637+
16361638
if(cmdline.isset("property"))
16371639
property_slicer(goto_model, cmdline.get_values("property"));
16381640
else
@@ -1695,6 +1697,7 @@ void goto_instrument_parse_optionst::instrument_goto_program()
16951697
goto_model.goto_functions.update();
16961698

16971699
log.status() << "Performing a reachability slice" << messaget::eom;
1700+
16981701
if(cmdline.isset("property"))
16991702
{
17001703
reachability_slicer(

0 commit comments

Comments
 (0)