cprover
slice.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Slicer for symex traces
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_GOTO_SYMEX_SLICE_H
13 #define CPROVER_GOTO_SYMEX_SLICE_H
14 
15 #include "symex_target_equation.h"
16 
17 #include <list>
18 
19 // slice an equation with respect to the assertions contained therein
20 void slice(symex_target_equationt &equation);
21 
22 // this simply slices away anything after the last assertion
23 void simple_slice(symex_target_equationt &equation);
24 
25 // Slice the symex trace with respect to a list of given expressions
26 void slice(
27  symex_target_equationt &equation,
28  const std::list<exprt> &expressions);
29 
30 // Collects "open" variables that are used but not assigned
31 
32 typedef std::unordered_set<irep_idt> symbol_sett;
33 
35  const symex_target_equationt &equation,
36  symbol_sett &open_variables);
37 
38 #endif // CPROVER_GOTO_SYMEX_SLICE_H
symex_target_equation.h
simple_slice
void simple_slice(symex_target_equationt &equation)
Definition: slice.cpp:239
slice
void slice(symex_target_equationt &equation)
Definition: slice.cpp:208
collect_open_variables
void collect_open_variables(const symex_target_equationt &equation, symbol_sett &open_variables)
Collect the open variables, i.e.
Definition: slice.cpp:219
symex_target_equationt
Inheriting the interface of symex_targett this class represents the SSA form of the input program as ...
Definition: symex_target_equation.h:35
symbol_sett
std::unordered_set< irep_idt > symbol_sett
Definition: slice.h:32