Class TruncatedParamsCall

    • Constructor Detail

      • TruncatedParamsCall

        public TruncatedParamsCall​(Call call)
        Builds the call.
        Parameters:
        call - the call to be wrapped
    • Method Detail

      • setSource

        public void setSource​(UnresolvedCall source)
        Description copied from class: Call
        Sets the call that this call originated from. A call r originates from a call u if:
        Overrides:
        setSource in class Call
        Parameters:
        source - the call that this one originated from
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Call
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class Call
      • compareCallAux

        protected int compareCallAux​(Call o)
        Description copied from class: Call
        Auxiliary method for Statement.compareTo(Statement) that can safely assume that the two calls happen at the same CodeLocation, are instances of the same class, have the same parameters according to their implementation of Statement.compareTo(Statement), and have all fields defined in the Call class equal according to their Comparable.compareTo(Object). This method is thus responsible for only comparing the implementation-specific fields.
        Specified by:
        compareCallAux in class Call
        Parameters:
        o - the other call
        Returns:
        a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object
      • forwardSemanticsAux

        public <A extends AbstractState<A>> AnalysisState<A> forwardSemanticsAux​(InterproceduralAnalysis<A> interprocedural,
                                                                                 AnalysisState<A> state,
                                                                                 ExpressionSet[] params,
                                                                                 StatementStore<A> expressions)
                                                                          throws SemanticException
        Description copied from class: NaryExpression
        Computes the forward semantics of the expression, after the semantics of all sub-expressions have been computed. Meta variables from the sub-expressions will be forgotten after this call returns.
        Specified by:
        forwardSemanticsAux in class NaryExpression
        Type Parameters:
        A - the type of AbstractState
        Parameters:
        interprocedural - the interprocedural analysis of the program to analyze
        state - the state where the expression is to be evaluated
        params - the symbolic expressions representing the computed values of the sub-expressions of this expression
        expressions - the cache where analysis states of intermediate expressions are stored and that can be accessed to query for post-states of parameters expressions
        Returns:
        the AnalysisState representing the abstract result of the execution of this expression
        Throws:
        SemanticException - if something goes wrong during the computation
      • getInnerCall

        public Call getInnerCall()
        Yields the original call that this one was created from.
        Returns:
        the call