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 - org.opalj.bi) that can be used to create arbitrary representations.
    • a library to create a one-to-one in-memory representation of Java bytecode (Bytecode Disassembler - org.opalj.da).
    • a library to convert this representation to Java class files (Bytecode Creator - org.opalj.bc).
    • a library to create a representation of Java bytecode that facilitates writing simple static analyses (Bytecode Representation - org.opalj.br).
    • a library to create a stackless, three-address code representation of Java bytecode that facilitates writing complex static analyses (Three Address Code - org.opalj.tac).
    • 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 (Dependencies Extraction - org.opalj.de) and to facilitate checking architecture definitions (Architecture Validation - org.opalj.av).
    • a library for the lightweight manipulation and creation of Java bytecode (Bytecode Assembler - org.opalj.ba).
    • a library for parsing Android packages (APK - org.opalj.apk).
    • libraries for writing static analyses using the interprocedural finite distributive subset (IFDS - org.opalj.ifds) and interprocedural distributive environment (IDE - org.opal.ide) algorithms.

    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 br

    In this representation of Java bytecode references to a Java class file's constant pool and to attributes are replaced by direct references to the corresponding constant pool entries.

    In this representation of Java bytecode references to a Java class file's constant pool and to attributes are replaced by direct references to the corresponding constant pool entries. This facilitates developing analyses and fosters comprehension.

    Based on the fact that indirect references to constant pool entries are resolved and replaced by direct references this representation is called the resolved representation.

    This representation of Java bytecode is considered as OPAL's standard representation for writing simple Scala based analyses. This representation is engineered such that it facilitates writing analyses that use pattern matching.

    Definition Classes
    opalj
  • package fpcf
    Definition Classes
    br
  • package properties
    Definition Classes
    fpcf
  • package alias
    Definition Classes
    properties
  • package cg
    Definition Classes
    properties
  • package fieldaccess
    Definition Classes
    properties
  • package immutability
    Definition Classes
    properties
  • package pointsto
    Definition Classes
    properties
  • package string
    Definition Classes
    properties
  • CachedHashCode
  • CachedSimplifyNode
  • SeqBasedStringTreeOr
  • SetBasedStringTreeOr
  • SimpleStringTreeNode
  • StringConstancyLevel
  • StringConstancyProperty
  • StringConstancyPropertyMetaInformation
  • StringTreeConcat
  • StringTreeConst
  • StringTreeDynamicFloat
  • StringTreeDynamicInt
  • StringTreeDynamicString
  • StringTreeEmptyConst
  • StringTreeInvalidElement
  • StringTreeNode
  • StringTreeNull
  • StringTreeOr
  • StringTreeParameter

package string

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait CachedHashCode extends Product
  2. sealed trait CachedSimplifyNode extends StringTreeNode
  3. case class SetBasedStringTreeOr(children: Set[StringTreeNode]) extends StringTreeOr with Product with Serializable

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Based on a Set for children storage. To be used if the order of children is NOT important.

  4. sealed trait SimpleStringTreeNode extends StringTreeNode

    Represents a string tree leaf, i.e.

    Represents a string tree leaf, i.e. a node having no children and can thus return itself during sorting and simplification.

  5. sealed trait StringConstancyLevel extends AnyRef

    Documents the string constancy that a string tree consisting of StringTreeNode has, meaning a summary whether the string tree in question is invalid, has at most constant values, has at most constant values concatenated with dynamic values or also contains un-concatenated dynamic values.

    Documents the string constancy that a string tree consisting of StringTreeNode has, meaning a summary whether the string tree in question is invalid, has at most constant values, has at most constant values concatenated with dynamic values or also contains un-concatenated dynamic values. The companion object also defines useful combination functions for instances of this trait.

  6. class StringConstancyProperty extends Property with StringConstancyPropertyMetaInformation
  7. sealed trait StringConstancyPropertyMetaInformation extends PropertyMetaInformation

    Wrapper property around StringTreeNode to allow it to be stored in the PropertyStore.

  8. case class StringTreeConcat(children: Seq[StringTreeNode]) extends CachedSimplifyNode with CachedHashCode with Product with Serializable

    Represents the concatenation of all its children.

  9. case class StringTreeConst(string: String) extends SimpleStringTreeNode with Product with Serializable
  10. sealed trait StringTreeNode extends AnyRef

    A single node that can be nested to create string trees that represent a set of possible string values.

    A single node that can be nested to create string trees that represent a set of possible string values. Its canonical reduction is a regex of all possible strings.

    Note

    This trait and all its implementations should be kept immutable to allow certain values to be cached.

    See also

    CachedHashCode CachedSimplifyNode

  11. trait StringTreeOr extends CachedSimplifyNode with CachedHashCode

    Represents the free choice between all its children.

  12. case class StringTreeParameter(index: Int) extends SimpleStringTreeNode with Product with Serializable

    A placeholder for a method parameter value.

    A placeholder for a method parameter value. Should be replaced using replaceParameters before reducing the string tree to a regex.

    index

    The method parameter index that is being represented.

Ungrouped