File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ void symex_bmct::merge_goto(
105
105
symex_coverage.covered (prev_pc, state.source .pc );
106
106
}
107
107
108
- bool symex_bmct::get_unwind (
108
+ bool symex_bmct::should_stop_unwind (
109
109
const symex_targett::sourcet &source,
110
110
const goto_symex_statet::call_stackt &context,
111
111
unsigned unwind)
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ class symex_bmct: public goto_symext
104
104
statet &state);
105
105
106
106
// for loop unwinding
107
- virtual bool get_unwind (
107
+ virtual bool should_stop_unwind (
108
108
const symex_targett::sourcet &source,
109
109
const goto_symex_statet::call_stackt &context,
110
110
unsigned unwind);
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ class goto_symext
284
284
285
285
// determine whether to unwind a loop -- true indicates abort,
286
286
// with false we continue.
287
- virtual bool get_unwind (
287
+ virtual bool should_stop_unwind (
288
288
const symex_targett::sourcet &source,
289
289
const goto_symex_statet::call_stackt &context,
290
290
unsigned unwind);
Original file line number Diff line number Diff line change @@ -82,10 +82,8 @@ void goto_symext::symex_goto(statet &state)
82
82
frame.loop_iterations [goto_programt::loop_id (*state.source .pc )].count ;
83
83
unwind++;
84
84
85
- // continue unwinding?
86
- if (get_unwind (state.source , state.call_stack (), unwind))
85
+ if (should_stop_unwind (state.source , state.call_stack (), unwind))
87
86
{
88
- // no!
89
87
loop_bound_exceeded (state, new_guard);
90
88
91
89
// next instruction
@@ -516,7 +514,7 @@ void goto_symext::loop_bound_exceeded(
516
514
}
517
515
}
518
516
519
- bool goto_symext::get_unwind (
517
+ bool goto_symext::should_stop_unwind (
520
518
const symex_targett::sourcet &,
521
519
const goto_symex_statet::call_stackt &,
522
520
unsigned )
You can’t perform that action at this time.
0 commit comments