#include <abstract_aggregate_object.h>
+ Inheritance diagram for abstract_aggregate_objectt< aggregate_typet, aggregate_traitst >:
+ Collaboration diagram for abstract_aggregate_objectt< aggregate_typet, aggregate_traitst >:
Interface for transforms.
A helper function to evaluate writing to a component of an abstract object.
Start the abstract object at either top or bottom or neither Asserts if both top and bottom are true.
Construct an abstract object from the expression.
Get the real type of the variable this abstract object is representing.
Find out if the abstract object is top.
Find out if the abstract object is bottom.
Verify the internal structure of an abstract_object is correct.
Converts to a constant expression if possible.
Converts to an invariant expression.
Print the value of the abstract object.
Determine whether 'this' abstract_object has been modified in comparison to a previous 'before' state.
Base implementation of the meet operation: only used if no more precise abstraction can be used, can only result in {TOP, BOTTOM, one of the original objects}.
Update the write location context for an abstract object.
Update the merge location context for an abstract object.
Apply a visitor operation to all sub elements of this abstract_object.
to_predicate implementation - derived classes will override
Protected Member Functions
Create a new abstract object that is the result of the merge, unless the object would be unchanged, then would return itself.
To detect the cases where the base merge is sufficient to do a merge We can't do if this->
is_bottom() since we want the specific.
Create a new abstract object that is the result of the merge, unless the object would be unchanged, then would return itself.
Helper function for base meet.
Helper function to decide if base meet implementation should be used.
Static Protected Member Functions
static bool merge_shared_maps (
const sharing_mapt< keyt,
abstract_object_pointert,
false, hash > &
map1,
const sharing_mapt< keyt,
abstract_object_pointert,
false, hash > &
map2,
sharing_mapt< keyt,
abstract_object_pointert,
false, hash > &
out_map,
const widen_modet &
widen_mode)
Additional Inherited Members
Dump all elements in m1 that are different or missing in m2.
Interface method for the meet operation.
Detailed Description
Constructor & Destructor Documentation
◆ abstract_aggregate_objectt() [1/2]
◆ abstract_aggregate_objectt() [2/2]
Member Function Documentation
◆ expression_transform()
)
const
inlineoverridevirtual
Interface for transforms.
- Parameters
-
expr the expression to evaluate and find the result of it. This will be the symbol referred to be op0()
operands an abstract_object (pointer) that represent the possible values of each operand
environment the abstract environment in which the expression is being evaluated
ns the current variable namespace
- Returns
- Returns the abstract_object representing the result of this expression to the maximum precision available.
To try and resolve different expressions with the maximum level of precision available.
Reimplemented from abstract_objectt.
Definition at line 62 of file abstract_aggregate_object.h.
◆ get_statistics()
)
const
inlineoverridevirtual
◆ merge_shared_maps()
◆ read_component()
)
const
inlineprotectedvirtual
◆ statistics()
)
const
protectedpure virtual
◆ write()
)
const
inlineoverridevirtual
A helper function to evaluate writing to a component of an abstract object.
More precise abstractions may override this to update what they are storing for a specific component.
- Parameters
-
environment the abstract environment
ns the current namespace
stack the remaining stack of expressions on the LHS to evaluate
specifier the expression uses to access a specific component
value the value we are trying to write to the component
merging_write if true, this and all future writes will be merged with the current value
- Returns
- the abstract_objectt representing the result of writing to a specific component.
Reimplemented from abstract_objectt.
Definition at line 75 of file abstract_aggregate_object.h.
◆ write_component()
)
const
inlineprotectedvirtual
The documentation for this class was generated from the following file: