@@ -52,8 +52,12 @@ class goto_symext
52
52
message_handlert &mh,
53
53
const symbol_tablet &outer_symbol_table,
54
54
symex_target_equationt &_target,
55
+ const optionst &options,
55
56
path_storaget &path_storage)
56
57
: should_pause_symex(false ),
58
+ options (options),
59
+ max_depth(options.get_unsigned_int_option(" depth" )),
60
+ doing_path_exploration(options.is_set(" paths" )),
57
61
total_vccs(0 ),
58
62
remaining_vccs(0 ),
59
63
constant_propagation(true ),
@@ -67,8 +71,6 @@ class goto_symext
67
71
guard_identifier(" goto_symex::\\ guard" ),
68
72
path_storage(path_storage)
69
73
{
70
- options.set_option (" simplify" , true );
71
- options.set_option (" assertions" , true );
72
74
}
73
75
74
76
virtual ~goto_symext ()
@@ -195,6 +197,11 @@ class goto_symext
195
197
const get_goto_functiont &,
196
198
statet &);
197
199
200
+ const optionst &options;
201
+
202
+ const unsigned max_depth;
203
+ const bool doing_path_exploration;
204
+
198
205
public:
199
206
// these bypass the target maps
200
207
virtual void symex_step_goto (statet &, bool taken);
@@ -205,8 +212,6 @@ class goto_symext
205
212
bool constant_propagation;
206
213
bool self_loops_to_assumptions;
207
214
208
- optionst options;
209
-
210
215
// / language_mode: ID_java, ID_C or another language identifier
211
216
// / if we know the source language in use, irep_idt() otherwise.
212
217
irep_idt language_mode;
0 commit comments