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.
1 parent 8159961 commit c0f4cb2Copy full SHA for c0f4cb2
src/goto-symex/slice.cpp
@@ -262,3 +262,11 @@ 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
+ step.ignore = false;
271
+ }
272
+}
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 &equation);
24
25
// this simply slices away anything after the last assertion
26
void simple_slice(symex_target_equationt &equation);
27
0 commit comments