Trait

org.opalj.ai.domain.la

PerformInvocationsWithBasicVirtualMethodCallResolution

Related Doc: package la

Permalink

trait PerformInvocationsWithBasicVirtualMethodCallResolution extends PerformInvocations with Callees

Mix in this trait if methods that are called by invokeXYZ instructions should actually be interpreted using a custom domain.

Self Type
PerformInvocationsWithBasicVirtualMethodCallResolution with ValuesFactory with ReferenceValuesDomain with Configuration with TheProject with TheMethod
Source
PerformInvocationsWithBasicVirtualMethodCallResolution.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerformInvocationsWithBasicVirtualMethodCallResolution
  2. Callees
  3. PerformInvocations
  4. MethodCallsHandling
  5. MethodCallsDomain
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type CalledMethodDomain <: TargetDomain with MethodCallResults

    Permalink
    Definition Classes
    PerformInvocations
  2. type MethodCallResult = Computation[(PerformInvocationsWithBasicVirtualMethodCallResolution.this)#DomainValue, (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#ExceptionValues]

    Permalink
    Definition Classes
    MethodCallsDomain

Abstract Value Members

  1. abstract def cache: CallGraphCache[MethodSignature, Set[Method]]

    Permalink
    Definition Classes
    Callees
  2. abstract def calledMethodAI: AI[_ >: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#CalledMethodDomain]

    Permalink

    The abstract interpreter that will be used for the abstract interpretation.

    The abstract interpreter that will be used for the abstract interpretation.

    Definition Classes
    PerformInvocations
  3. abstract def calledMethodDomain(method: Method): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#CalledMethodDomain

    Permalink

    The domain that will be used to perform the abstract interpretation of the called method.

    The domain that will be used to perform the abstract interpretation of the called method.

    In general, explicit support is required to identify recursive calls if the domain also follows method invocations,

    Attributes
    protected[this]
    Definition Classes
    PerformInvocations
  4. abstract def invokedynamic(pc: PC, bootstrapMethod: BootstrapMethod, name: String, methodDescriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Definition Classes
    MethodCallsDomain
  5. implicit abstract def project: SomeProject

    Permalink
    Definition Classes
    Callees
  6. abstract def shouldInvocationBePerformed(method: Method): Boolean

    Permalink

    Returns true if the given method should be invoked.

    Returns true if the given method should be invoked.

    Definition Classes
    PerformInvocations

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def MethodCallResult(potentialExceptions: Iterable[(PerformInvocationsWithBasicVirtualMethodCallResolution.this)#ExceptionValue]): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  5. def MethodCallResult(returnValue: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#DomainValue, exceptions: Iterable[(PerformInvocationsWithBasicVirtualMethodCallResolution.this)#ExceptionValue]): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def callees(caller: Method, declaringClassType: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor): Set[Method]

    Permalink
    Definition Classes
    Callees
    Annotations
    @inline()
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def doInvoke(pc: PC, method: Method, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands, fallback: () ⇒ (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink

    Performs the invocation of the given method using the given operands.

    Performs the invocation of the given method using the given operands.

    Attributes
    protected[this]
    Definition Classes
    PerformInvocations
  10. def doInvoke(method: Method, calledMethodDomain: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#CalledMethodDomain)(parameters: l2.PerformInvocations.CalledMethodDomain.Locals): AIResult { val domain: calledMethodDomain.type }

    Permalink
    Attributes
    protected[this]
    Definition Classes
    PerformInvocations
  11. def doInvokeNonVirtual(pc: PC, declaringClass: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands, fallback: () ⇒ (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    PerformInvocations
  12. def doInvokeVirtual(pc: br.PC, declaringClass: ReferenceType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands, fallback: () ⇒ (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink

    The default implementation only supports the case where we can precisely resolve the target.

    The default implementation only supports the case where we can precisely resolve the target.

    Definition Classes
    PerformInvocationsWithBasicVirtualMethodCallResolutionPerformInvocations
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getPotentialExceptions(pc: PC): List[(PerformInvocationsWithBasicVirtualMethodCallResolution.this)#ExceptionValue]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  18. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, targetMethods: Set[Method], receiverIsNull: Answer, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink

    methodDescriptor

    The method descriptor as specified by the invoke instruction. In case of the invocation of a signature polymorphic method using org.opalj.br.instructions.INVOKEVIRTUAL the descriptor of the invoked method may differ from the descriptor used by the method. Nevertheless, the MethodCallResult has to satisfy the requirements of the caller. In particular regarding the return type.

    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  19. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  20. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, receiverIsNull: Answer): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  21. def handleInvoke(pc: PC, targetMethod: Method, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  22. def handleInvoke(pc: PC, methodDescriptor: MethodDescriptor): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def invokeinterface(pc: PC, declaringClass: ObjectType, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  25. def invokespecial(pc: PC, declaringClass: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  26. def invokestatic(pc: PC, declaringClass: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink

    For those invokestatic calls for which we have no concrete method (e.g., the respective class file was never loaded or the method is native) or if we have a recursive invocation, the super implementation is called.

    For those invokestatic calls for which we have no concrete method (e.g., the respective class file was never loaded or the method is native) or if we have a recursive invocation, the super implementation is called.

    Definition Classes
    PerformInvocationsMethodCallsDomain
  27. def invokevirtual(pc: PC, declaringClass: ReferenceType, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  28. lazy val isExtensible: (ObjectType) ⇒ Answer

    Permalink
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def testAndDoInvoke(pc: PC, method: Method, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands, fallback: () ⇒ (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    PerformInvocations
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. def transformResult(callerPC: PC, calledMethod: Method, originalOperands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands, calledMethodDomain: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#CalledMethodDomain)(passedParameters: l2.PerformInvocations.CalledMethodDomain.Locals, result: AIResult { val domain: calledMethodDomain.type }): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink

    Converts the results (DomainValues) of the evaluation of the called method into the calling domain.

    Converts the results (DomainValues) of the evaluation of the called method into the calling domain.

    If the returned value is one of the parameters (determined using reference identity), then the parameter is mapped back to the original operand.

    Attributes
    protected[this]
    Definition Classes
    PerformInvocations
  37. def useExceptionsThrownByCalledMethod: Boolean

    Permalink

    If true the exceptions thrown by the called method are will be used during the evaluation of the calling method.

    If true the exceptions thrown by the called method are will be used during the evaluation of the calling method.

    Definition Classes
    PerformInvocations
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Callees

Inherited from PerformInvocations

Inherited from MethodCallsHandling

Inherited from MethodCallsDomain

Inherited from AnyRef

Inherited from Any

Ungrouped