Go to the documentation of this file.
12 #ifndef CPROVER_ANALYSES_VARIABLE_SENSITIVITY_VALUE_SET_POINTER_ABSTRACT_OBJECT_H
13 #define CPROVER_ANALYSES_VARIABLE_SENSITIVITY_VALUE_SET_POINTER_ABSTRACT_OBJECT_H
26 const typet &new_type,
69 const std::stack<exprt> &stack,
71 bool merging_write)
const override;
74 const typet &new_type,
80 const std::vector<abstract_object_pointert> &operands,
86 const std::vector<abstract_object_pointert> &operands,
116 #endif // CPROVER_ANALYSES_VARIABLE_SENSITIVITY_VALUE_SET_POINTER_ABSTRACT_OBJECT_H
sharing_ptrt< class abstract_objectt > abstract_object_pointert
abstract_object_pointert typecast(const typet &new_type, const abstract_environmentt &environment, const namespacet &ns) const override
const_iterator begin() const
abstract_object_sett values
The type of an expression, extends irept.
virtual const typet & type() const
Get the real type of the variable this abstract object is representing.
abstract_object_pointert merge(const abstract_object_pointert &other, const widen_modet &widen_mode) const override
Merge two sets of constraints by appending to the first one.
abstract_object_pointert ptr_diff(const exprt &expr, const std::vector< abstract_object_pointert > &operands, const abstract_environmentt &environment, const namespacet &ns) const override
Base class for all expressions.
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
value_sett::size_type size() const
void set_values(const abstract_object_sett &other_values)
Setter for updating the stored values.
abstract_object_pointert read_dereference(const abstract_environmentt &env, const namespacet &ns) const override
A helper function to read elements from an array.
virtual exprt to_constant() const
Converts to a constant expression if possible.
const abstract_object_sett & get_values() const override
Getter for the set of stored abstract objects.
exprt ptr_comparison_expr(const exprt &expr, const std::vector< abstract_object_pointert > &operands, const abstract_environmentt &environment, const namespacet &ns) const override
static const size_t max_value_set_size
The threshold size for value-sets: past this threshold the object is either converted to interval or ...
value_set_pointer_abstract_objectt(const typet &type)
This is the basic interface of the abstract interpreter with default implementations of the core func...
virtual bool verify() const
Verify the internal structure of an abstract_object is correct.
exprt to_constant() const override
Converts to a constant expression if possible.
void output(std::ostream &out, const ai_baset &ai, const namespacet &ns) const override
abstract_object_pointert write_dereference(abstract_environmentt &environment, const namespacet &ns, const std::stack< exprt > &stack, const abstract_object_pointert &new_value, bool merging_write) const override
Evaluate writing to a pointer's value.
exprt to_predicate_internal(const exprt &name) const override
to_predicate implementation - derived classes will override
abstract_object_pointert resolve_values(const abstract_object_sett &new_values) const
Update the set of stored values to new_values.