cprover
Toggle main menu visibility
Loading...
Searching...
No Matches
full_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_FULL_SLICER_H
13
#define CPROVER_GOTO_INSTRUMENT_FULL_SLICER_H
14
15
#include <
goto-programs/goto_program.h
>
16
17
class
goto_functionst
;
18
class
goto_modelt
;
19
class
message_handlert
;
20
21
void
full_slicer
(
goto_functionst
&,
const
namespacet
&,
message_handlert
&);
22
23
void
full_slicer
(
goto_modelt
&,
message_handlert
&);
24
25
void
property_slicer
(
26
goto_functionst
&,
27
const
namespacet
&,
28
const
std::list<std::string> &properties,
29
message_handlert
&);
30
31
void
property_slicer
(
32
goto_modelt
&,
33
const
std::list<std::string> &properties,
34
message_handlert
&);
35
36
class
slicing_criteriont
37
{
38
public
:
39
virtual
~slicing_criteriont
();
40
virtual
bool
operator()
(
41
const
irep_idt
&function_id,
42
goto_programt::const_targett
)
const
= 0;
43
};
44
45
void
full_slicer
(
46
goto_functionst
&goto_functions,
47
const
namespacet
&ns,
48
const
slicing_criteriont
&criterion,
49
message_handlert
&);
50
51
#endif
// CPROVER_GOTO_INSTRUMENT_FULL_SLICER_H
goto_functionst
A collection of goto functions.
Definition
goto_functions.h:25
goto_modelt
Definition
goto_model.h:27
goto_programt::const_targett
instructionst::const_iterator const_targett
Definition
goto_program.h:614
message_handlert
Definition
message.h:27
namespacet
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition
namespace.h:91
slicing_criteriont
Definition
full_slicer.h:37
slicing_criteriont::~slicing_criteriont
virtual ~slicing_criteriont()
Definition
full_slicer.cpp:392
slicing_criteriont::operator()
virtual bool operator()(const irep_idt &function_id, goto_programt::const_targett) const =0
property_slicer
void property_slicer(goto_functionst &, const namespacet &, const std::list< std::string > &properties, message_handlert &)
Definition
full_slicer.cpp:373
full_slicer
void full_slicer(goto_functionst &, const namespacet &, message_handlert &)
Definition
full_slicer.cpp:357
goto_program.h
Concrete Goto Program.
irep_idt
dstringt irep_idt
Definition
verification_result.h:16
goto-instrument
full_slicer.h
Generated by
1.17.0