cprover
reachability_slicer.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Slicing
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_GOTO_INSTRUMENT_REACHABILITY_SLICER_H
13 #define CPROVER_GOTO_INSTRUMENT_REACHABILITY_SLICER_H
14 
15 #include <list>
16 #include <string>
17 
18 class goto_modelt;
19 
21 
23  goto_modelt &,
24  const std::list<std::string> &properties);
25 
27  goto_modelt &,
28  const bool include_forward_reachability);
29 
31  goto_modelt &,
32  const std::list<std::string> &properties,
33  const bool include_forward_reachability);
34 
35 #define OPT_REACHABILITY_SLICER \
36  "(reachability-slice)(reachability-slice-fb)" // NOLINT(*)
37 
38 #define HELP_REACHABILITY_SLICER \
39  " --reachability-slice remove instructions that cannot appear on a " \
40  "trace from entry point to a property\n" \
41  " --reachability-slice-fb remove instructions that cannot appear on a " \
42  "trace from entry point through a property\n" // NOLINT(*)
43 
44 #endif // CPROVER_GOTO_INSTRUMENT_REACHABILITY_SLICER_H
void reachability_slicer(goto_modelt &)
Perform reachability slicing on goto_model, with respect to criterion comprising all properties...