File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
goto-instrument/accelerate Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ class bmct:public safety_checkert
86
86
ui_message_handler(_message_handler),
87
87
driver_callback_after_symex(callback_after_symex)
88
88
{
89
- symex.constant_propagation =options.get_bool_option (" propagation" );
90
89
symex.record_coverage =
91
90
!options.get_option (" symex-coverage-report" ).empty ();
92
91
symex.self_loops_to_assumptions =
@@ -162,7 +161,6 @@ class bmct:public safety_checkert
162
161
ui_message_handler(_message_handler),
163
162
driver_callback_after_symex(callback_after_symex)
164
163
{
165
- symex.constant_propagation = options.get_bool_option (" propagation" );
166
164
symex.record_coverage =
167
165
!options.get_option (" symex-coverage-report" ).empty ();
168
166
INVARIANT (
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ bool scratch_programt::check_sat(bool do_slice)
35
35
output (ns, " scratch" , std::cout);
36
36
#endif
37
37
38
- symex.constant_propagation =constant_propagation;
39
38
goto_symex_statet::propagationt::valuest constants;
40
39
41
40
symex.symex_with_state (symex_state, functions, symex_symbol_table);
Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ class goto_symext
62
62
options.get_bool_option(" allow-pointer-unsoundness" )),
63
63
total_vccs(0 ),
64
64
remaining_vccs(0 ),
65
- constant_propagation(true ),
66
65
self_loops_to_assumptions(true ),
67
66
language_mode(),
67
+ constant_propagation(options.get_bool_option(" propagation" )),
68
68
outer_symbol_table(outer_symbol_table),
69
69
ns(outer_symbol_table),
70
70
target(_target),
@@ -212,14 +212,15 @@ class goto_symext
212
212
// statistics
213
213
unsigned total_vccs, remaining_vccs;
214
214
215
- bool constant_propagation;
216
215
bool self_loops_to_assumptions;
217
216
218
217
// / language_mode: ID_java, ID_C or another language identifier
219
218
// / if we know the source language in use, irep_idt() otherwise.
220
219
irep_idt language_mode;
221
220
222
221
protected:
222
+ const bool constant_propagation;
223
+
223
224
// / The symbol table associated with the goto-program that we're
224
225
// / executing. This symbol table will not additionally contain objects
225
226
// / that are dynamically created as part of symbolic execution; the
You can’t perform that action at this time.
0 commit comments