Interface ValueDomain<D extends ValueDomain<D>>

    • Method Detail

      • applySubstitution

        default D applySubstitution​(java.util.List<HeapSemanticOperation.HeapReplacement> substitution,
                                    ProgramPoint pp)
                             throws SemanticException
        Applies a substitution of identifiers that is caused by a modification of the abstraction provided in the HeapDomain of the analysis. A substitution is composed by a list of HeapSemanticOperation.HeapReplacement instances, that must be applied in order.
        Parameters:
        substitution - the substitution to apply
        pp - the program point that where this operation is being evaluated
        Returns:
        the value domain instance modified by the substitution
        Throws:
        SemanticException - if an error occurs during the computation