forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalue_set_domain_fivrns.h
60 lines (45 loc) · 1.25 KB
/
value_set_domain_fivrns.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*******************************************************************\
Module: Value Set Domain (Flow Insensitive, Validity Regions)
Author: Daniel Kroening, kroening@kroening.com
CM Wintersteiger
\*******************************************************************/
/// \file
/// Value Set Domain (Flow Insensitive, Validity Regions)
#ifndef CPROVER_POINTER_ANALYSIS_VALUE_SET_DOMAIN_FIVRNS_H
#define CPROVER_POINTER_ANALYSIS_VALUE_SET_DOMAIN_FIVRNS_H
#include <analyses/flow_insensitive_analysis.h>
#include "value_set_fivrns.h"
class value_set_domain_fivrnst:
public flow_insensitive_abstract_domain_baset
{
public:
value_set_fivrnst value_set;
// overloading
virtual void output(
const namespacet &ns,
std::ostream &out) const
{
value_set.output(ns, out);
}
virtual void initialize(
const namespacet &ns)
{
value_set.clear();
}
virtual bool transform(
const namespacet &ns,
locationt from_l,
locationt to_l);
virtual void get_reference_set(
const namespacet &ns,
const exprt &expr,
expr_sett &expr_set)
{
value_set.get_reference_set(expr, expr_set, ns);
}
virtual void clear(void)
{
value_set.clear();
}
};
#endif // CPROVER_POINTER_ANALYSIS_VALUE_SET_DOMAIN_FIVRNS_H