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 TheCode
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
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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(classFile: ClassFile, 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(definingClass: ClassFile, 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. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from PerformInvocationsWithBasicVirtualMethodCallResolution to any2stringadd[PerformInvocationsWithBasicVirtualMethodCallResolution] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (PerformInvocationsWithBasicVirtualMethodCallResolution, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from PerformInvocationsWithBasicVirtualMethodCallResolution to ArrowAssoc[PerformInvocationsWithBasicVirtualMethodCallResolution] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def doInvoke(pc: br.PC, definingClass: ClassFile, 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
  12. 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
  13. def doInvokeNonVirtual(pc: br.PC, declaringClassType: ObjectType, methodName: String, methodDescriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands, fallback: () ⇒ (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    PerformInvocations
  14. def doInvokeVirtual(pc: br.PC, declaringClass: ReferenceType, 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
  15. def ensuring(cond: (PerformInvocationsWithBasicVirtualMethodCallResolution) ⇒ Boolean, msg: ⇒ Any): PerformInvocationsWithBasicVirtualMethodCallResolution

    Permalink
    Implicit information
    This member is added by an implicit conversion from PerformInvocationsWithBasicVirtualMethodCallResolution to Ensuring[PerformInvocationsWithBasicVirtualMethodCallResolution] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (PerformInvocationsWithBasicVirtualMethodCallResolution) ⇒ Boolean): PerformInvocationsWithBasicVirtualMethodCallResolution

    Permalink
    Implicit information
    This member is added by an implicit conversion from PerformInvocationsWithBasicVirtualMethodCallResolution to Ensuring[PerformInvocationsWithBasicVirtualMethodCallResolution] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): PerformInvocationsWithBasicVirtualMethodCallResolution

    Permalink
    Implicit information
    This member is added by an implicit conversion from PerformInvocationsWithBasicVirtualMethodCallResolution to Ensuring[PerformInvocationsWithBasicVirtualMethodCallResolution] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): PerformInvocationsWithBasicVirtualMethodCallResolution

    Permalink
    Implicit information
    This member is added by an implicit conversion from PerformInvocationsWithBasicVirtualMethodCallResolution to Ensuring[PerformInvocationsWithBasicVirtualMethodCallResolution] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from PerformInvocationsWithBasicVirtualMethodCallResolution to StringFormat[PerformInvocationsWithBasicVirtualMethodCallResolution] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  25. 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
  26. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

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

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

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

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

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

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

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  33. def invokestatic(pc: br.PC, declaringClass: ObjectType, 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
  34. def invokevirtual(pc: br.PC, declaringClass: ReferenceType, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#Operands): (PerformInvocationsWithBasicVirtualMethodCallResolution.this)#MethodCallResult

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  35. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  42. def transformResult(callerPC: br.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
  43. 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
  44. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def [B](y: B): (PerformInvocationsWithBasicVirtualMethodCallResolution, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from PerformInvocationsWithBasicVirtualMethodCallResolution to ArrowAssoc[PerformInvocationsWithBasicVirtualMethodCallResolution] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Callees

Inherited from PerformInvocations

Inherited from MethodCallsHandling

Inherited from MethodCallsDomain

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from PerformInvocationsWithBasicVirtualMethodCallResolution to any2stringadd[PerformInvocationsWithBasicVirtualMethodCallResolution]

Ungrouped