File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -262,3 +262,11 @@ void simple_slice(symex_target_equationt &equation)
262
262
s_it->ignore =true ;
263
263
}
264
264
}
265
+
266
+ void revert_slice (symex_target_equationt &equation)
267
+ {
268
+ // set ignore to false
269
+ for (auto step : equation.SSA_steps ) {
270
+ step.ignore = false ;
271
+ }
272
+ }
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ Author: Daniel Kroening, kroening@kroening.com
19
19
// slice an equation with respect to the assertions contained therein
20
20
void slice (symex_target_equationt &equation);
21
21
22
+ // Undo whatever has been done by `slice`
23
+ void revert_slice (symex_target_equationt &equation);
24
+
22
25
// this simply slices away anything after the last assertion
23
26
void simple_slice (symex_target_equationt &equation);
24
27
You can’t perform that action at this time.
0 commit comments