File tree 8 files changed +16
-24
lines changed
8 files changed +16
-24
lines changed Original file line number Diff line number Diff line change @@ -258,12 +258,6 @@ set malloc failure mode to return null
258
258
\fB \-\- string \- abstraction \fR
259
259
track C string lengths and zero\- termination
260
260
.TP
261
- \fB \-\- fp \- reachability \- slice \fR f
262
- remove instructions that cannot appear on a trace
263
- that visits all given functions. The list of
264
- functions has to be given as a comma separated
265
- list f.
266
- .TP
267
261
\fB \-\- reachability \- slice \fR
268
262
remove instructions that cannot appear on a trace
269
263
from entry point to a property
Original file line number Diff line number Diff line change @@ -972,6 +972,10 @@ list \fIf\fR.
972
972
remove instructions that cannot appear on a trace
973
973
from entry point to a property
974
974
.TP
975
+ \fB \-\- reachability \- slice \- fb \fR
976
+ remove instructions that cannot appear on a trace
977
+ from entry point through a property
978
+ .TP
975
979
\fB \-\- full \- slice \fR
976
980
slice away instructions that don't affect assertions
977
981
.TP
Original file line number Diff line number Diff line change @@ -138,12 +138,6 @@ ignore user assumptions
138
138
\fB \-\- mm \fR MM
139
139
memory consistency model for concurrent programs
140
140
.TP
141
- \fB \-\- fp \- reachability \- slice \fR f
142
- remove instructions that cannot appear on a trace
143
- that visits all given functions. The list of
144
- functions has to be given as a comma separated
145
- list f.
146
- .TP
147
141
\fB \-\- reachability \- slice \fR
148
142
remove instructions that cannot appear on a trace
149
143
from entry point to a property
Original file line number Diff line number Diff line change @@ -967,7 +967,6 @@ void jbmc_parse_optionst::help()
967
967
" --no-assumptions ignore user assumptions\n "
968
968
" --mm MM memory consistency model for concurrent programs\n " // NOLINT(*)
969
969
HELP_REACHABILITY_SLICER
970
- HELP_REACHABILITY_SLICER_FB
971
970
" --full-slice run full slicer (experimental)\n " // NOLINT(*)
972
971
" \n "
973
972
" Java Bytecode frontend options:\n "
Original file line number Diff line number Diff line change @@ -902,7 +902,6 @@ void cbmc_parse_optionst::help()
902
902
" --mm MM memory consistency model for concurrent programs (default: sc)\n " // NOLINT(*)
903
903
HELP_CONFIG_LIBRARY
904
904
HELP_REACHABILITY_SLICER
905
- HELP_REACHABILITY_SLICER_FB
906
905
" --full-slice run full slicer (experimental)\n " // NOLINT(*)
907
906
" --drop-unused-functions drop functions trivially unreachable from main function\n " // NOLINT(*)
908
907
" --havoc-undefined-functions\n "
Original file line number Diff line number Diff line change 95
95
#include " nondet_volatile.h"
96
96
#include " points_to.h"
97
97
#include " race_check.h"
98
- #include " reachability_slicer.h"
99
98
#include " remove_function.h"
100
99
#include " rw_set.h"
101
100
#include " show_locations.h"
@@ -1971,6 +1970,7 @@ void goto_instrument_parse_optionst::help()
1971
1970
" \n "
1972
1971
" Slicing:\n "
1973
1972
HELP_REACHABILITY_SLICER
1973
+ HELP_FP_REACHABILITY_SLICER
1974
1974
" --full-slice slice away instructions that don't affect assertions\n " // NOLINT(*)
1975
1975
" --property id slice with respect to specific property only\n " // NOLINT(*)
1976
1976
" --slice-global-inits slice away initializations of unused global variables\n " // NOLINT(*)
Original file line number Diff line number Diff line change 36
36
#include " generate_function_bodies.h"
37
37
#include " insert_final_assert_false.h"
38
38
#include " nondet_volatile.h"
39
+ #include " reachability_slicer.h"
39
40
#include " replace_calls.h"
40
41
#include " uninitialized.h"
41
42
#include " unwindset.h"
77
78
" (custom-bitvector-analysis)" \
78
79
" (show-struct-alignment)(interval-analysis)(show-intervals)" \
79
80
" (show-uninitialized)(show-locations)" \
80
- " (full-slice)(reachability-slice)(slice-global-inits)" \
81
- " (fp-reachability-slice):" \
81
+ " (full-slice)(slice-global-inits)" \
82
+ OPT_REACHABILITY_SLICER \
83
+ OPT_FP_REACHABILITY_SLICER \
82
84
" (inline)(partial-inline)(function-inline):(log):(no-caching)" \
83
85
" (value-set-fi-fp-removal)" \
84
86
OPT_REMOVE_CONST_FUNCTION_POINTERS \
Original file line number Diff line number Diff line change @@ -42,18 +42,18 @@ void reachability_slicer(
42
42
message_handlert &);
43
43
44
44
// clang-format off
45
- #define OPT_REACHABILITY_SLICER \
46
- " (fp- reachability-slice): (reachability-slice)(reachability-slice- fb)" // NOLINT(*)
45
+ #define OPT_FP_REACHABILITY_SLICER " (fp-reachability-slice): "
46
+ # define OPT_REACHABILITY_SLICER " (reachability-slice)(reachability-slice- fb)"
47
47
48
- #define HELP_REACHABILITY_SLICER \
48
+ #define HELP_FP_REACHABILITY_SLICER \
49
49
" --fp-reachability-slice f remove instructions that cannot appear on a trace\n " \
50
50
" that visits all given functions. The list of\n " \
51
51
" functions has to be given as a comma separated\n " \
52
- " list f.\n " \
52
+ " list f.\n "
53
+ #define HELP_REACHABILITY_SLICER \
53
54
" --reachability-slice remove instructions that cannot appear on a trace\n " \
54
- " from entry point to a property\n " // NOLINT(*)
55
- #define HELP_REACHABILITY_SLICER_FB \
55
+ " from entry point to a property\n " \
56
56
" --reachability-slice-fb remove instructions that cannot appear on a trace\n " \
57
- " from entry point through a property\n " // NOLINT(*)
57
+ " from entry point through a property\n "
58
58
// clang-format on
59
59
#endif // CPROVER_GOTO_INSTRUMENT_REACHABILITY_SLICER_H
You can’t perform that action at this time.
0 commit comments