CBMC
two_value_union_abstract_object.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3  Module: analyses variable-sensitivity
4 
5  Author: Fotis Koutoulakis, fotis.koutoulakis@diffblue.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_ANALYSES_VARIABLE_SENSITIVITY_UNION_ABSTRACT_OBJECT_H
13 #define CPROVER_ANALYSES_VARIABLE_SENSITIVITY_UNION_ABSTRACT_OBJECT_H
14 
16 
18  two_value_union_abstract_objectt,
19  union_aggregate_typet>
20 {
21 public:
26 
30  {
31  }
32 
41  {
42  }
43 
50  const exprt &expr,
51  const abstract_environmentt &environment,
52  const namespacet &ns)
53  : abstract_aggregate_baset(expr, environment, ns)
54  {
55  }
56 
57 protected:
58  void statistics(
60  abstract_object_visitedt &visited,
61  const abstract_environmentt &env,
62  const namespacet &ns) const override
63  {
64  }
65 };
66 #endif // CPROVER_ANALYSES_VARIABLE_SENSITIVITY_UNION_ABSTRACT_OBJECT_H
two_value_union_abstract_objectt::statistics
void statistics(abstract_object_statisticst &statistics, abstract_object_visitedt &visited, const abstract_environmentt &env, const namespacet &ns) const override
Definition: two_value_union_abstract_object.h:58
typet
The type of an expression, extends irept.
Definition: type.h:28
two_value_union_abstract_objectt
Definition: two_value_union_abstract_object.h:17
abstract_objectt::type
virtual const typet & type() const
Get the real type of the variable this abstract object is representing.
Definition: abstract_object.cpp:47
two_value_union_abstract_objectt::two_value_union_abstract_objectt
two_value_union_abstract_objectt(const typet &type, bool top, bool bottom)
Start the abstract object at either top or bottom or neither Asserts if both top and bottom are true.
Definition: two_value_union_abstract_object.h:39
abstract_environmentt
Definition: abstract_environment.h:40
exprt
Base class for all expressions.
Definition: expr.h:55
two_value_union_abstract_objectt::abstract_aggregate_baset
abstract_aggregate_objectt< two_value_union_abstract_objectt, union_aggregate_typet > abstract_aggregate_baset
Definition: two_value_union_abstract_object.h:25
namespacet
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition: namespace.h:90
abstract_object_statisticst
Definition: abstract_object_statistics.h:18
union_aggregate_typet
Definition: abstract_aggregate_object.h:205
abstract_aggregate_objectt
Definition: abstract_aggregate_object.h:26
abstract_object_visitedt
std::set< abstract_object_pointert > abstract_object_visitedt
Definition: abstract_object.h:70
abstract_objectt::bottom
bool bottom
Definition: abstract_object.h:386
two_value_union_abstract_objectt::two_value_union_abstract_objectt
two_value_union_abstract_objectt(const typet &type)
Definition: two_value_union_abstract_object.h:28
abstract_aggregate_object.h
two_value_union_abstract_objectt::two_value_union_abstract_objectt
two_value_union_abstract_objectt(const exprt &expr, const abstract_environmentt &environment, const namespacet &ns)
Definition: two_value_union_abstract_object.h:49
abstract_objectt::top
bool top
Definition: abstract_object.h:387