CBMC
value_sets.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Value Set Propagation
4
5
Author: Daniel Kroening, kroening@kroening.com
6
7
\*******************************************************************/
8
11
12
#ifndef CPROVER_POINTER_ANALYSIS_VALUE_SETS_H
13
#define CPROVER_POINTER_ANALYSIS_VALUE_SETS_H
14
15
#include <list>
16
17
#include <
goto-programs/goto_program.h
>
18
19
// an abstract base class
20
21
class
value_setst
22
{
23
public
:
24
value_setst
()
25
{
26
}
27
28
typedef
std::list<exprt>
valuest
;
29
30
// this is not const to allow a lazy evaluation
31
virtual
std::vector<exprt>
get_values
(
32
const
irep_idt
&function_id,
33
goto_programt::const_targett
l,
34
const
exprt
&expr) = 0;
35
36
virtual
~value_setst
()
37
{
38
}
39
};
40
41
#endif // CPROVER_POINTER_ANALYSIS_VALUE_SETS_H
dstringt
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition:
dstring.h:36
value_setst::get_values
virtual std::vector< exprt > get_values(const irep_idt &function_id, goto_programt::const_targett l, const exprt &expr)=0
exprt
Base class for all expressions.
Definition:
expr.h:55
value_setst::value_setst
value_setst()
Definition:
value_sets.h:24
value_setst::valuest
std::list< exprt > valuest
Definition:
value_sets.h:28
value_setst::~value_setst
virtual ~value_setst()
Definition:
value_sets.h:36
goto_program.h
value_setst
Definition:
value_sets.h:21
goto_programt::const_targett
instructionst::const_iterator const_targett
Definition:
goto_program.h:587
src
pointer-analysis
value_sets.h
Generated by
1.8.17