Package it.unive.lisa.analysis.heap
Interface HeapSemanticOperation
-
- All Known Subinterfaces:
HeapDomain<D>,NonRelationalHeapDomain<T>
- All Known Implementing Classes:
AllocationSites,BaseHeapDomain,FieldSensitivePointBasedHeap,HeapEnvironment,MonolithicHeap,PointBasedHeap,TypeBasedHeap
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface HeapSemanticOperationA semantic operation on the heap state of the program, that provides a substitution of the available identifiers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHeapSemanticOperation.HeapReplacementA replacement betweenIdentifiers caused by a change in the heap abstraction.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<HeapSemanticOperation.HeapReplacement>getSubstitution()Yields the substitution, in the form of a list ofHeapSemanticOperation.HeapReplacements that must be processed in their order of appearance, that the creation of this heap domain caused.
-
-
-
Method Detail
-
getSubstitution
java.util.List<HeapSemanticOperation.HeapReplacement> getSubstitution()
Yields the substitution, in the form of a list ofHeapSemanticOperation.HeapReplacements that must be processed in their order of appearance, that the creation of this heap domain caused. This substitution mapsIdentifiers in the pre-state toIdentifiers in the post state. If no substitution needs to be applied, this method should return an empty list.- Returns:
- the list of replacements
-
-