@@ -52,8 +52,12 @@ class goto_symext
5252 message_handlert &mh,
5353 const symbol_tablet &outer_symbol_table,
5454 symex_target_equationt &_target,
55+ const optionst &options,
5556 path_storaget &path_storage)
5657 : should_pause_symex(false ),
58+ options (options),
59+ max_depth(options.get_unsigned_int_option(" depth" )),
60+ doing_path_exploration(options.is_set(" paths" )),
5761 total_vccs(0 ),
5862 remaining_vccs(0 ),
5963 constant_propagation(true ),
@@ -67,8 +71,6 @@ class goto_symext
6771 guard_identifier(" goto_symex::\\ guard" ),
6872 path_storage(path_storage)
6973 {
70- options.set_option (" simplify" , true );
71- options.set_option (" assertions" , true );
7274 }
7375
7476 virtual ~goto_symext ()
@@ -195,6 +197,11 @@ class goto_symext
195197 const get_goto_functiont &,
196198 statet &);
197199
200+ const optionst &options;
201+
202+ const unsigned max_depth;
203+ const bool doing_path_exploration;
204+
198205public:
199206 // these bypass the target maps
200207 virtual void symex_step_goto (statet &, bool taken);
@@ -205,8 +212,6 @@ class goto_symext
205212 bool constant_propagation;
206213 bool self_loops_to_assumptions;
207214
208- optionst options;
209-
210215 // / language_mode: ID_java, ID_C or another language identifier
211216 // / if we know the source language in use, irep_idt() otherwise.
212217 irep_idt language_mode;
0 commit comments