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 // clang-format off
36 #define OPT_REACHABILITY_SLICER \
37  "(reachability-slice)(reachability-slice-fb)" // NOLINT(*)
38 
39 #define HELP_REACHABILITY_SLICER \
40  " --reachability-slice remove instructions that cannot appear on\n" \
41  " a trace from entry point to a property\n" \
42  " --reachability-slice-fb remove instructions that cannot appear on\n" \
43  " a trace from entry point through a property\n" // NOLINT(*)
44 // clang-format on
45 #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...