File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -952,6 +952,8 @@ bool cbmc_parse_optionst::process_goto_program(
952
952
953
953
if (options.get_bool_option (" reachability-slice" ))
954
954
{
955
+ log .warning () << " WARNING: Unsound option --reachability-slice"
956
+ << messaget::eom;
955
957
log .status () << " Performing a reachability slice" << messaget::eom;
956
958
if (options.is_set (" property" ))
957
959
reachability_slicer (goto_model, options.get_list_option (" property" ));
@@ -962,6 +964,7 @@ bool cbmc_parse_optionst::process_goto_program(
962
964
// full slice?
963
965
if (options.get_bool_option (" full-slice" ))
964
966
{
967
+ log .warning () << " WARNING: Unsound option --full-slice" << messaget::eom;
965
968
log .status () << " Performing a full slice" << messaget::eom;
966
969
if (options.is_set (" property" ))
967
970
property_slicer (goto_model, options.get_list_option (" property" ));
Original file line number Diff line number Diff line change @@ -1596,6 +1596,8 @@ void goto_instrument_parse_optionst::instrument_goto_program()
1596
1596
{
1597
1597
do_indirect_call_and_rtti_removal ();
1598
1598
1599
+ log .warning () << " WARNING: Unsound option --reachability-slice"
1600
+ << messaget::eom;
1599
1601
log .status () << " Performing a reachability slice" << messaget::eom;
1600
1602
1601
1603
// reachability_slicer requires that the model has unique location numbers:
@@ -1623,7 +1625,9 @@ void goto_instrument_parse_optionst::instrument_goto_program()
1623
1625
do_indirect_call_and_rtti_removal ();
1624
1626
do_remove_returns ();
1625
1627
1628
+ log .warning () << " WARNING: Unsound option --full-slice" << messaget::eom;
1626
1629
log .status () << " Performing a full slice" << messaget::eom;
1630
+
1627
1631
if (cmdline.isset (" property" ))
1628
1632
property_slicer (goto_model, cmdline.get_values (" property" ));
1629
1633
else
@@ -1685,7 +1689,10 @@ void goto_instrument_parse_optionst::instrument_goto_program()
1685
1689
1686
1690
goto_model.goto_functions .update ();
1687
1691
1692
+ log .warning () << " WARNING: Unsound option --reachability-slice"
1693
+ << messaget::eom;
1688
1694
log .status () << " Performing a reachability slice" << messaget::eom;
1695
+
1689
1696
if (cmdline.isset (" property" ))
1690
1697
reachability_slicer (goto_model, cmdline.get_values (" property" ));
1691
1698
else
You can’t perform that action at this time.
0 commit comments