Class

org.opalj.ai

AIResult

Related Doc: package ai

Permalink

sealed abstract class AIResult extends AnyRef

Encapsulates the result of the abstract interpretation of a method. If the abstract interpretation was cancelled, the result encapsulates the current state of the evaluation which can be used to continue the abstract interpretation later on if necessary/desired.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AIResult
  2. AnyRef
  3. 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

Abstract Value Members

  1. abstract val cfJoins: BitSet

    Permalink

    The instructions where two or more control flow paths join.

    The instructions where two or more control flow paths join.

    Note

    This information could be recomputed on-demand but is stored for performance reasons.

    See also

    org.opalj.br.Code.cfPCs / org.opalj.br.Code.cfJoins

  2. abstract val code: Code

    Permalink

    The code for which the abstract interpretation was performed.

  3. abstract val domain: Domain

    Permalink

    The domain object that was used to perform the abstract interpretation.

  4. abstract val evaluated: Chain[PC]

    Permalink

    The list of evaluated instructions ordered by the evaluation time.

  5. abstract val liveVariables: LiveVariables

    Permalink

    The set of statically known live Variables.

  6. abstract val localsArray: Domain.LocalsArray

    Permalink

    The values stored in the registers.

    The values stored in the registers.

    For those instructions that were never executed (potentially dead code if the abstract interpretation succeeded) the locals array will be empty (the value will be null).

  7. abstract val memoryLayoutBeforeSubroutineCall: Chain[(PC, Domain.OperandsArray, Domain.LocalsArray)]

    Permalink

    Contains the memory layout before the call to a subroutine.

    Contains the memory layout before the call to a subroutine. This list is empty if the abstract interpretation completed successfully.

  8. abstract val operandsArray: Domain.OperandsArray

    Permalink

    The array of the operand lists in effect before the execution of the instruction with the respective program counter.

    The array of the operand lists in effect before the execution of the instruction with the respective program counter.

    For those instructions that were never executed (potentially dead code if the abstract interpretation succeeded) the operands array will be empty (the value will be null).

  9. abstract val subroutinesLocalsArray: Domain.LocalsArray

    Permalink

    Contains the memory layout related to the method's subroutines (if any).

    Contains the memory layout related to the method's subroutines (if any).

    Note

    This value is null if the method does not have subroutines (Java 6 and newer class files never contain subroutines) or if no subroutine was analyzed so far.

  10. abstract val subroutinesOperandsArray: Domain.OperandsArray

    Permalink

    Contains the memory layout related to the method's subroutines (if any).

    Contains the memory layout related to the method's subroutines (if any).

    Note

    This value is null if the method does not have subroutines (Java 6 and newer class files never contain subroutines) or if no subroutine was analyzed so far.

  11. abstract def wasAborted: Boolean

    Permalink

    Returns true if the abstract interpretation was aborted.

  12. abstract val worklist: Chain[PC]

    Permalink

    The list of instructions that need to be interpreted next.

    The list of instructions that need to be interpreted next. This list is empty if the abstract interpretation succeed.

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 AIResult to any2stringadd[AIResult] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AIResult, B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  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 ensuring(cond: (AIResult) ⇒ Boolean, msg: ⇒ Any): AIResult

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. lazy val evaluatedInstructions: BitSet

    Permalink

    Returns the information whether an instruction with a specific PC was evaluated at least once.

  15. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def stateToString: String

    Permalink

    Textual representation of the state encapsulated by this result.

  24. lazy val subroutineInstructions: IntArraySet

    Permalink

    Returns all instructions that belong to a subroutine.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wasEvaluted(pc: PC): Boolean

    Permalink

    Returns true if the instruction with the given pc was evaluated at least once.

    Returns true if the instruction with the given pc was evaluated at least once.

    This operation is much more efficient than performing an exists check on the list of evaluated instructions!

    Annotations
    @inline()
  31. def [B](y: B): (AIResult, B)

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

Inherited from AnyRef

Inherited from Any

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

Inherited by implicit conversion StringFormat from AIResult to StringFormat[AIResult]

Inherited by implicit conversion Ensuring from AIResult to Ensuring[AIResult]

Inherited by implicit conversion ArrowAssoc from AIResult to ArrowAssoc[AIResult]

Ungrouped