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.
- Source
- AIResult.scala
- Alphabetic
- By Inheritance
- AIResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract val cfJoins: IntTrieSet
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, org.opalj.br.Code.predecessorPCs
- abstract val code: Code
The code for which the abstract interpretation was performed.
- abstract val domain: Domain
The domain object that was used to perform the abstract interpretation.
- abstract val evaluatedPCs: IntArrayStack
The list of evaluated instructions ordered by the evaluation time; subroutines are identified using the SUBROUTINE marker ids.
- abstract val liveVariables: LiveVariables
The set of statically known live Variables.
- abstract val localsArray: Domain.LocalsArray
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
). - abstract val memoryLayoutBeforeSubroutineCall: List[(PC, Domain.OperandsArray, Domain.LocalsArray)]
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.
- abstract val operandsArray: Domain.OperandsArray
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
). - abstract val subroutinesLocalsArray: Domain.LocalsArray
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.
- abstract val subroutinesOperandsArray: Domain.OperandsArray
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.
- abstract val subroutinesWereEvaluated: Boolean
True if and only if a subroutine (JSR) was actually evaluated.
- abstract def wasAborted: Boolean
Returns
true
if the abstract interpretation was aborted. - abstract val worklist: List[PC]
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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val evaluatedInstructions: BitSet
Returns the information whether an instruction with a specific PC was evaluated at least once.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def stateToString: String
Textual representation of the state encapsulated by this result.
- lazy val subroutinePCs: IntArraySet
Returns all instructions that belong to a subroutine.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wasEvaluated(pc: Int): Boolean
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()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated