Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package opalj

    OPAL is a Scala-based framework for the static analysis, manipulation and creation of Java bytecode.

    OPAL is a Scala-based framework for the static analysis, manipulation and creation of Java bytecode. OPAL is designed with performance, scalability and adaptability in mind.

    Its main components are:

    • a library (Common) which provides generally useful data-structures and algorithms for static analyses.
    • a framework for implementing lattice based static analyses (Static Analysis Infrastructure)
    • a framework for parsing Java bytecode (Bytecode Infrastructure) that can be used to create arbitrary representations.
    • a library to create a one-to-one in-memory representation of Java bytecode (Bytecode Disassembler).
    • a library to create a representation of Java bytecode that facilitates writing simple static analyses (Bytecode Representation - org.opalj.br).
    • a scalable, easily customizable framework for the abstract interpretation of Java bytecode (Abstract Interpretation Framework - org.opalj.ai).
    • a library to extract dependencies between code elements and to facilitate checking architecture definitions.
    • a library for the lightweight manipulation and creation of Java bytecode (Bytecode Assembler).

    General Design Decisions

    Thread Safety

    Unless explicitly noted, OPAL is thread safe. I.e., the classes defined by OPAL can be considered to be thread safe unless otherwise stated. (For example, it is possible to read and process class files concurrently without explicit synchronization on the client side.)

    No null Values

    Unless explicitly noted, OPAL does not null values I.e., fields that are accessible will never contain null values and methods will never return null. If a method accepts null as a value for a parameter or returns a null value it is always explicitly documented. In general, the behavior of methods that are passed null values is undefined unless explicitly documented.

    No Typecasts for Collections

    For efficiency reasons, OPAL sometimes uses mutable data-structures internally. After construction time, these data-structures are generally represented using their generic interfaces (e.g., scala.collection.{Set,Map}). However, a downcast (e.g., to add/remove elements) is always forbidden as it would effectively prevent thread-safety.

    Assertions

    OPAL makes heavy use of Scala's Assertion Facility to facilitate writing correct code. Hence, for production builds (after thorough testing(!)) it is highly recommend to build OPAL again using -Xdisable-assertions.

    Definition Classes
    org
  • package ai

    Implementation of an abstract interpretation (ai) framework – also referred to as OPAL.

    Implementation of an abstract interpretation (ai) framework – also referred to as OPAL.

    Please note that OPAL/the abstract interpreter just refers to the classes and traits defined in this package (ai). The classes and traits defined in the sub-packages (in particular in domain) are not considered to be part of the core of OPAL/the abstract interpreter.

    Definition Classes
    opalj
    Note

    This framework assumes that the analyzed bytecode is valid; i.e., the JVM's bytecode verifier would be able to verify the code. Furthermore, load-time errors (e.g., LinkageErrors) are – by default – completely ignored to facilitate the analysis of parts of a project. In general, if the presented bytecode is not valid, the result is undefined (i.e., OPAL may report meaningless results, crash or run indefinitely).

    See also

    org.opalj.ai.AI - Implements the abstract interpreter that processes a methods code and uses an analysis-specific domain to perform the abstract computations.

    org.opalj.ai.Domain - The core interface between the abstract interpretation framework and the abstract domain that is responsible for performing the abstract computations.

  • package fpcf
    Definition Classes
    ai
  • package analyses
    Definition Classes
    fpcf
  • DomainBasedFPCFAnalysisScheduler
  • EagerL0BaseAIAnalysis
  • EagerLBFieldValuesAnalysis
  • EagerLBMethodReturnValuesAnalysis
  • FieldValuesAnalysis
  • L0BaseAIResultAnalysis
  • L0BaseAIResultAnalysisScheduler
  • LBFieldValuesAnalysis
  • LBMethodReturnValuesAnalysis
  • LazyL0BaseAIAnalysis
o

org.opalj.ai.fpcf.analyses

EagerL0BaseAIAnalysis

object EagerL0BaseAIAnalysis extends L0BaseAIResultAnalysisScheduler with BasicFPCFEagerAnalysisScheduler

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EagerL0BaseAIAnalysis
  2. BasicFPCFEagerAnalysisScheduler
  3. FPCFEagerAnalysisScheduler
  4. L0BaseAIResultAnalysisScheduler
  5. DomainBasedFPCFAnalysisScheduler
  6. FPCFAnalysisScheduler
  7. ComputationSpecification
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type InitializationData = Null

    The type of the data used by the analysis at initialization time.

    The type of the data used by the analysis at initialization time. For analyses without special initialization requirements this type is Null.

    Definition Classes
    BasicFPCFEagerAnalysisSchedulerComputationSpecification

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 afterPhaseCompletion(p: SomeProject, ps: PropertyStore, analysis: FPCFAnalysis): Unit
  5. final def afterPhaseCompletion(ps: PropertyStore, analysis: FPCFAnalysis): Unit

    Called after phase completion.

    Called after phase completion.

    Definition Classes
    FPCFAnalysisSchedulerComputationSpecification
  6. def afterPhaseScheduling(ps: PropertyStore, analysis: FPCFAnalysis): Unit

    Called back after all analyses of a specific phase have been schedule (i.e., before calling waitOnPhaseCompletion).

    Called back after all analyses of a specific phase have been schedule (i.e., before calling waitOnPhaseCompletion).

    Definition Classes
    BasicFPCFEagerAnalysisSchedulerComputationSpecification
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def beforeSchedule(p: SomeProject, ps: PropertyStore): Unit
  9. final def beforeSchedule(ps: PropertyStore): Unit

    Called directly before the analyses belonging to a phase are effectively scheduled.

    Called directly before the analyses belonging to a phase are effectively scheduled. I.e., after phase setup, but potentially after other analyses' beforeSchedule method is called.

    Definition Classes
    FPCFAnalysisSchedulerComputationSpecification
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  11. final def computationType: ComputationType

    Specifies the kind of the computation that is performed.

    Specifies the kind of the computation that is performed. The kind restricts in which way the analysis is allowed to interact with the property store/other analyses.

    Definition Classes
    FPCFEagerAnalysisSchedulerComputationSpecification
  12. final def derivedProperty: PropertyBounds
  13. def derives: Iterator[PropertyBounds]
    Definition Classes
    ComputationSpecification
  14. def derivesCollaboratively: Set[PropertyBounds]
  15. def derivesEagerly: Set[PropertyBounds]

    Returns the set of property kinds eagerly derived by the underlying analysis.

    Returns the set of property kinds eagerly derived by the underlying analysis.

    Definition Classes
    EagerL0BaseAIAnalysisComputationSpecification
  16. final def derivesLazily: Option[PropertyBounds]

    Returns the kind of the property that is lazily (on-demand) derived.

    Returns the kind of the property that is lazily (on-demand) derived.

    Definition Classes
    FPCFEagerAnalysisSchedulerComputationSpecification
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. def init(p: SomeProject, ps: PropertyStore): Null
  22. final def init(ps: PropertyStore): InitializationData

    Called directly after the analysis is registered with an analysis scheduler; in particular before any analysis belonging to the same analysis scenario is scheduled – independent of the batch in which it will run.

    Called directly after the analysis is registered with an analysis scheduler; in particular before any analysis belonging to the same analysis scenario is scheduled – independent of the batch in which it will run.

    This enables further initialization of the computations that will eventually be executed. For example to initialize global configuration information.

    A computation specification does not have to call any methods of the property store that may trigger or schedule computations; i.e., it must – in particular – not call the methods apply, schedule*, register* or waitOnPhaseCompletion.

    returns

    The initialization data that is later on passed to schedule.

    Definition Classes
    FPCFAnalysisSchedulerComputationSpecification
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def name: String

    Identifies this computation specification; typically the name of the class which implements the underlying analysis.

    Identifies this computation specification; typically the name of the class which implements the underlying analysis.

    The default name is the name of this class.

    This method should be overridden.

    Definition Classes
    ComputationSpecification
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. def requiredProjectInformation: ProjectInformationKeys

    Returns all org.opalj.br.analyses.ProjectInformationKeys required by the analyses.

    Returns all org.opalj.br.analyses.ProjectInformationKeys required by the analyses.

    This information is in particular required by keys which - when the key is computed - make use of other keys which are not statically known at compile time. If a single key that is (transitively) used is not correctly listed, a deadlock will _always_ occur.

    Definition Classes
    L0BaseAIResultAnalysisSchedulerFPCFAnalysisScheduler
  29. final def schedule(ps: PropertyStore, i: InitializationData): FPCFAnalysis

    Called by the scheduler to let the analysis register itself or to start execution.

    Called by the scheduler to let the analysis register itself or to start execution.

    Definition Classes
    FPCFEagerAnalysisSchedulerComputationSpecification
  30. def start(p: SomeProject, ps: PropertyStore, unused: Null): FPCFAnalysis

    Called when a schedule is executed and when this analysis shall register itself with the property store using org.opalj.fpcf.PropertyStore.scheduleEagerComputationForEntity or a variant thereof.

    Called when a schedule is executed and when this analysis shall register itself with the property store using org.opalj.fpcf.PropertyStore.scheduleEagerComputationForEntity or a variant thereof. This method is typically implicitly called by the org.opalj.br.fpcf.FPCFAnalysesManager.

    Definition Classes
    EagerL0BaseAIAnalysisFPCFEagerAnalysisScheduler
    Note

    This analysis must not call registerTriggeredComputation or registerLazyPropertyComputation.

  31. def start(p: SomeProject, i: InitializationData): FPCFAnalysis

    Starts the analysis for the given project.

    Starts the analysis for the given project. This method is typically implicitly called by the FPCFAnalysesManager.

    Definition Classes
    FPCFEagerAnalysisScheduler
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    ComputationSpecification → AnyRef → Any
  34. def toString(ps: PropertyStore): String
    Definition Classes
    ComputationSpecification
  35. final val uniqueId: Int

    The unique id of this factory.

    The unique id of this factory.

    Every factory for a specific analysis is automatically associated with a unique id.

    Definition Classes
    FPCFAnalysisScheduler
  36. def uses: Set[PropertyBounds]

    The uses that are configuration independent.

    The uses that are configuration independent.

    Definition Classes
    DomainBasedFPCFAnalysisSchedulerFPCFAnalysisScheduler
  37. def uses(p: SomeProject, ps: PropertyStore): Set[PropertyBounds]

    The uses that are configuration (project) dependent.

    The uses that are configuration (project) dependent.

    Definition Classes
    DomainBasedFPCFAnalysisSchedulerFPCFAnalysisScheduler
  38. final def uses(ps: PropertyStore): Set[PropertyBounds]

    Returns the kinds of properties which are queried by this analysis.

    Returns the kinds of properties which are queried by this analysis.

    Definition Classes
    FPCFAnalysisSchedulerComputationSpecification
    Note

    This set consists only of property kinds which are directly used by the analysis.

    ,

    Self usages should also be documented.

    ,

    This method is called after org.opalj.fpcf.ComputationSpecification#init(ps:org\.opalj\.fpcf\.PropertyStore)* was called for all analyses belonging to an analysis scenario. (E.g., it can be used to collect the set of used property bounds based on the configuration choices made in other analyses.)

  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. 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 FPCFAnalysisScheduler

Inherited from AnyRef

Inherited from Any

Ungrouped