Trait

org.opalj.ai.domain.l2

PerformInvocationsWithRecursionDetection

Related Doc: package l2

Permalink

trait PerformInvocationsWithRecursionDetection extends PerformInvocations with TheMemoryLayout

Enables to perform invocations.

Example

(PerformInvocationsWithRecursionDetection is in particular used by BugPicker's domain.)

Self Type
PerformInvocationsWithRecursionDetection with ValuesFactory with ReferenceValuesDomain with TheProject with TheMethod with Configuration
Source
PerformInvocationsWithRecursionDetection.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerformInvocationsWithRecursionDetection
  2. TheMemoryLayout
  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 ChildPerformInvocationsWithRecursionDetection with MethodCallResults

    Permalink
  2. type MethodCallResult = Computation[(PerformInvocationsWithRecursionDetection.this)#DomainValue, (PerformInvocationsWithRecursionDetection.this)#ExceptionValues]

    Permalink
    Definition Classes
    MethodCallsDomain

Abstract Value Members

  1. abstract def calledMethodAI: AI[_ >: (PerformInvocationsWithRecursionDetection.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
  2. abstract def calledMethodDomain(method: Method): (PerformInvocationsWithRecursionDetection.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
  3. abstract def calledMethodsStore: CalledMethodsStore { val domain: org.opalj.ai.domain.l2.CalledMethodsStore.<refinement>.type }

    Permalink
  4. abstract val coordinatingDomain: BaseDomain

    Permalink
  5. abstract def frequentEvaluationWarningLevel: Int

    Permalink
  6. abstract def invokedynamic(pc: PC, bootstrapMethod: BootstrapMethod, name: String, methodDescriptor: MethodDescriptor, operands: (PerformInvocationsWithRecursionDetection.this)#Operands): (PerformInvocationsWithRecursionDetection.this)#MethodCallResult

    Permalink
    Definition Classes
    MethodCallsDomain
  7. 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[(PerformInvocationsWithRecursionDetection.this)#ExceptionValue]): (PerformInvocationsWithRecursionDetection.this)#MethodCallResult

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

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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def doInvoke(pc: PC, method: Method, operands: (PerformInvocationsWithRecursionDetection.this)#Operands, fallback: () ⇒ (PerformInvocationsWithRecursionDetection.this)#MethodCallResult): (PerformInvocationsWithRecursionDetection.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
    PerformInvocationsWithRecursionDetectionPerformInvocations
  9. def doInvoke(method: Method, calledMethodDomain: (PerformInvocationsWithRecursionDetection.this)#CalledMethodDomain)(parameters: PerformInvocations.CalledMethodDomain.Locals): AIResult { val domain: calledMethodDomain.type }

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    PerformInvocations
  11. def doInvokeVirtual(pc: PC, declaringClass: ReferenceType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithRecursionDetection.this)#Operands, fallback: () ⇒ (PerformInvocationsWithRecursionDetection.this)#MethodCallResult): (PerformInvocationsWithRecursionDetection.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
    PerformInvocations
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  17. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, targetMethods: Set[Method], receiverIsNull: Answer, operands: (PerformInvocationsWithRecursionDetection.this)#Operands): (PerformInvocationsWithRecursionDetection.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
  18. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, operands: (PerformInvocationsWithRecursionDetection.this)#Operands): (PerformInvocationsWithRecursionDetection.this)#MethodCallResult

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

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

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

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

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

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

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  25. def invokestatic(pc: PC, declaringClass: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithRecursionDetection.this)#Operands): (PerformInvocationsWithRecursionDetection.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
  26. def invokevirtual(pc: PC, declaringClass: ReferenceType, name: String, descriptor: MethodDescriptor, operands: (PerformInvocationsWithRecursionDetection.this)#Operands): (PerformInvocationsWithRecursionDetection.this)#MethodCallResult

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

    Permalink
    Definition Classes
    Any
  28. def localsArray: (PerformInvocationsWithRecursionDetection.this)#LocalsArray

    Permalink
    Definition Classes
    TheMemoryLayout
  29. def memoryLayoutBeforeSubroutineCall: Chain[((PerformInvocationsWithRecursionDetection.this)#OperandsArray, (PerformInvocationsWithRecursionDetection.this)#LocalsArray)]

    Permalink
    Definition Classes
    TheMemoryLayout
  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. def operandsArray: (PerformInvocationsWithRecursionDetection.this)#OperandsArray

    Permalink
    Definition Classes
    TheMemoryLayout
  34. def subroutinesLocalsArray: (PerformInvocationsWithRecursionDetection.this)#LocalsArray

    Permalink
    Definition Classes
    TheMemoryLayout
  35. def subroutinesOperandsArray: (PerformInvocationsWithRecursionDetection.this)#OperandsArray

    Permalink
    Definition Classes
    TheMemoryLayout
  36. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def transformResult(callerPC: PC, calledMethod: Method, originalOperands: (PerformInvocationsWithRecursionDetection.this)#Operands, calledMethodDomain: (PerformInvocationsWithRecursionDetection.this)#CalledMethodDomain)(passedParameters: PerformInvocations.CalledMethodDomain.Locals, result: AIResult { val domain: calledMethodDomain.type }): (PerformInvocationsWithRecursionDetection.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
  40. 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
  41. final def wait(): Unit

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

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

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

Inherited from TheMemoryLayout

Inherited from PerformInvocations

Inherited from MethodCallsHandling

Inherited from MethodCallsDomain

Inherited from AnyRef

Inherited from Any

Ungrouped