Packages

object TACAI

Factory to convert the bytecode of a method into a three address representation using the results of a(n) (local) abstract interpretation of the method.

The generated representation is completely parameterized over the domains that were used to perform the abstract interpretation. The only requirement is that the Def/Use information is recorded while performing the abstract interpretation (see org.opalj.ai.domain.RecordDefUse).

The generated representation is necessarily in static single assignment form: each variable is assigned exactly once, and every variable is defined before it is used. However, no PHI instructions are inserted; instead - in case of a use - we simply directly refer to all def sites.

Source
TACAI.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TACAI
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(method: Method, classHierarchy: ClassHierarchy, aiResult: AIResult { val domain: org.opalj.ai.Domain with org.opalj.ai.domain.RecordDefUse }, propagateConstants: Boolean)(optimizations: List[TACOptimization[TACMethodParameter, DUVar[((aiResult)#domain)#DomainValue], AITACode[TACMethodParameter, ((aiResult)#domain)#DomainValue]]]): AITACode[TACMethodParameter, ((aiResult)#domain)#DomainValue]

    Converts the bytecode of a method into a three address representation using the result of an abstract interpretation.

    Converts the bytecode of a method into a three address representation using the result of an abstract interpretation.

    method

    A method with a body. I.e., a non-native, non-abstract method.

    aiResult

    The result of the abstract interpretation of the respective method.

    optimizations

    The transformations that should be executed (NoOptimizations is always possible).

    returns

    The array with the generated statements.

  5. def apply(project: SomeProject, method: Method, aiResult: AIResult { val domain: org.opalj.ai.Domain with org.opalj.ai.domain.RecordDefUse }): AITACode[TACMethodParameter, ((aiResult)#domain)#DomainValue]
  6. def apply(project: SomeProject, method: Method)(domain: Domain with RecordDefUse = new DefaultDomainWithCFGAndDefUse(project, method)): AITACode[TACMethodParameter, (domain)#DomainValue]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def normalizeParameterOriginsMap(descriptor: MethodDescriptor, isStatic: Boolean): Array[Int]

    Returns a map which maps an ai-based value origin for a parameter to the tac value origin; to lookup the tac based origin, the ai-based origin aiVO has to be negated and 1 has to be subtracted.

    Returns a map which maps an ai-based value origin for a parameter to the tac value origin; to lookup the tac based origin, the ai-based origin aiVO has to be negated and 1 has to be subtracted.

    returns

    An implicit map (keys are aiVOKey = -aiVo-1) from aiVO to tacVo.

  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped