@@ -121,9 +121,6 @@ void jbmc_parse_optionst::get_command_line_options(optionst &options)
121
121
if (cmdline.isset (" show-vcc" ))
122
122
options.set_option (" show-vcc" , true );
123
123
124
- if (cmdline.isset (" cover" ))
125
- parse_cover_options (cmdline, options);
126
-
127
124
if (cmdline.isset (" nondet-static" ))
128
125
options.set_option (" nondet-static" , true );
129
126
@@ -189,14 +186,8 @@ void jbmc_parse_optionst::get_command_line_options(optionst &options)
189
186
options.set_option (" assumptions" , false );
190
187
191
188
// generate unwinding assertions
192
- if (cmdline.isset (" cover" ))
193
- options.set_option (" unwinding-assertions" , false );
194
- else
195
- {
196
- options.set_option (
197
- " unwinding-assertions" ,
198
- cmdline.isset (" unwinding-assertions" ));
199
- }
189
+ if (cmdline.isset (" unwinding-assertions" ))
190
+ options.set_option (" unwinding-assertions" , true );
200
191
201
192
// generate unwinding assumptions otherwise
202
193
options.set_option (
@@ -559,12 +550,6 @@ int jbmc_parse_optionst::doit()
559
550
// particular function:
560
551
add_failed_symbols (lazy_goto_model.symbol_table );
561
552
562
- // If applicable, parse the coverage instrumentation configuration, which
563
- // will be used in process_goto_function:
564
- cover_config =
565
- get_cover_config (
566
- options, lazy_goto_model.symbol_table , get_message_handler ());
567
-
568
553
// Provide show-goto-functions and similar dump functions after symex
569
554
// executes. If --paths is active, these dump routines run after every
570
555
// paths iteration. Its return value indicates that if we ran any dump
@@ -782,20 +767,12 @@ void jbmc_parse_optionst::process_goto_function(
782
767
symbol_table);
783
768
}
784
769
785
- // If using symex-driven function loading we must insert the coverage goals
770
+ // If using symex-driven function loading we must label the assertions
786
771
// now so symex sees its targets; otherwise we leave this until
787
772
// process_goto_functions, as we haven't run remove_exceptions yet, and that
788
773
// pass alters the CFG.
789
774
if (using_symex_driven_loading)
790
775
{
791
- // instrument cover goals
792
- if (cmdline.isset (" cover" ))
793
- {
794
- INVARIANT (
795
- cover_config != nullptr , " cover config should have been parsed" );
796
- instrument_cover_goals (*cover_config, function, get_message_handler ());
797
- }
798
-
799
776
// label the assertions
800
777
label_properties (goto_function.body );
801
778
@@ -916,17 +893,9 @@ bool jbmc_parse_optionst::process_goto_functions(
916
893
remove_unused_functions (goto_model, get_message_handler ());
917
894
}
918
895
919
- // remove skips such that trivial GOTOs are deleted and not considered
920
- // for coverage annotation:
896
+ // remove skips such that trivial GOTOs are deleted
921
897
remove_skip (goto_model);
922
898
923
- // instrument cover goals
924
- if (cmdline.isset (" cover" ))
925
- {
926
- if (instrument_cover_goals (options, goto_model, get_message_handler ()))
927
- return true ;
928
- }
929
-
930
899
// label the assertions
931
900
// This must be done after adding assertions and
932
901
// before using the argument of the "property" option.
@@ -970,7 +939,7 @@ bool jbmc_parse_optionst::process_goto_functions(
970
939
full_slicer (goto_model);
971
940
}
972
941
973
- // remove any skips introduced since coverage instrumentation
942
+ // remove any skips introduced
974
943
remove_skip (goto_model);
975
944
}
976
945
@@ -1079,7 +1048,6 @@ void jbmc_parse_optionst::help()
1079
1048
" --no-assertions ignore user assertions\n "
1080
1049
" --no-assumptions ignore user assumptions\n "
1081
1050
" --error-label label check that label is unreachable\n "
1082
- " --cover CC create test-suite with coverage criterion CC\n " // NOLINT(*)
1083
1051
" --mm MM memory consistency model for concurrent programs\n " // NOLINT(*)
1084
1052
HELP_REACHABILITY_SLICER
1085
1053
" --full-slice run full slicer (experimental)\n " // NOLINT(*)
0 commit comments