We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4adcfd8 + be9135c commit d54feebCopy full SHA for d54feeb
src/goto-symex/slice.cpp
@@ -262,3 +262,12 @@ void simple_slice(symex_target_equationt &equation)
262
s_it->ignore=true;
263
}
264
265
+
266
+void revert_slice(symex_target_equationt &equation)
267
+{
268
+ // set ignore to false
269
+ for(auto step : equation.SSA_steps)
270
+ {
271
+ step.ignore = false;
272
+ }
273
+}
src/goto-symex/slice.h
@@ -19,6 +19,9 @@ Author: Daniel Kroening, [email protected]
19
// slice an equation with respect to the assertions contained therein
20
void slice(symex_target_equationt &equation);
21
22
+/// Undo whatever has been done by `slice`
23
+void revert_slice(symex_target_equationt &);
24
25
// this simply slices away anything after the last assertion
26
void simple_slice(symex_target_equationt &equation);
27
0 commit comments