File tree 6 files changed +13
-3
lines changed 6 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ containing the code for a different part of the system.
14
14
* \ref linking
15
15
16
16
- Symbolic Execution
17
+ * \ref goto-checker
17
18
* \ref goto-symex
18
19
19
20
- Static Analyses
@@ -36,9 +37,10 @@ containing the code for a different part of the system.
36
37
37
38
* \ref cbmc
38
39
* \ref goto-analyzer
39
- * \ref goto-instrument
40
- * \ref goto-diff
41
40
* \ref goto-cc
41
+ * \ref goto-diff
42
+ * \ref goto-harness
43
+ * \ref goto-instrument
42
44
* \ref jbmc
43
45
44
46
- Utilities
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ void jbmc_parse_optionst::set_default_options(optionst &options)
108
108
options.set_option (" propagation" , true );
109
109
options.set_option (" refine-strings" , true );
110
110
options.set_option (" sat-preprocessor" , true );
111
+ options.set_option (" simple-slice" , true );
111
112
options.set_option (" simplify" , true );
112
113
options.set_option (" simplify-if" , true );
113
114
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ void cbmc_parse_optionst::set_default_options(optionst &options)
114
114
options.set_option (" pretty-names" , true );
115
115
options.set_option (" propagation" , true );
116
116
options.set_option (" sat-preprocessor" , true );
117
+ options.set_option (" simple-slice" , true );
117
118
options.set_option (" simplify" , true );
118
119
options.set_option (" simplify-if" , true );
119
120
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ void slice(
233
233
}
234
234
else
235
235
{
236
- if (options.get_list_option ( " cover " ). empty ( ))
236
+ if (options.get_bool_option ( " simple-slice " ))
237
237
{
238
238
simple_slice (symex_target_equation);
239
239
msg.statistics () << " simple slicing removed "
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ class goto_trace_providert
23
23
{
24
24
public:
25
25
// / Builds and returns the complete trace
26
+ // / \note If slicing is used then the trace will not be complete.
27
+ // / E.g. with simple-slice it will end at the last assertion.
26
28
virtual goto_tracet build_full_trace () const = 0;
27
29
28
30
// / Builds and returns the trace up to the first failed property
Original file line number Diff line number Diff line change @@ -165,6 +165,10 @@ parse_coverage_criterion(const std::string &criterion_string)
165
165
void parse_cover_options (const cmdlinet &cmdline, optionst &options)
166
166
{
167
167
options.set_option (" cover" , cmdline.get_values (" cover" ));
168
+
169
+ // allow retrieving full traces
170
+ options.set_option (" simple-slice" , false );
171
+
168
172
options.set_option (
169
173
" cover-include-pattern" , cmdline.get_value (" cover-include-pattern" ));
170
174
options.set_option (" no-trivial-tests" , cmdline.isset (" no-trivial-tests" ));
You can’t perform that action at this time.
0 commit comments