Packages

c

io.joern.php2cpg.passes

ClosureRefPass

class ClosureRefPass extends ConcurrentWriterCpgPass[ClosureBinding]

Linear Supertypes
ConcurrentWriterCpgPass[ClosureBinding], NewStyleCpgPassBase[ClosureBinding], CpgPassBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClosureRefPass
  2. ConcurrentWriterCpgPass
  3. NewStyleCpgPassBase
  4. CpgPassBase
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ClosureRefPass(cpg: Cpg)

Type Members

  1. type DiffGraphBuilder = overflowdb.BatchedUpdate.DiffGraphBuilder
    Definition Classes
    NewStyleCpgPassBase

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def baseLogger: Logger
    Attributes
    protected
    Definition Classes
    CpgPassBase
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def createAndApply(): Unit
    Definition Classes
    NewStyleCpgPassBase → CpgPassBase
  8. def createApplySerializeAndStore(serializedCpg: SerializedCpg, inverse: Boolean, prefix: String): Unit
    Definition Classes
    ConcurrentWriterCpgPass → CpgPassBase
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finish(): Unit
    Definition Classes
    NewStyleCpgPassBase
  12. def generateOutFileName(prefix: String, outName: String, index: Int): String
    Attributes
    protected
    Definition Classes
    CpgPassBase
  13. def generateParts(): Array[ClosureBinding]
    Definition Classes
    ClosureRefPass → NewStyleCpgPassBase
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def init(): Unit
    Definition Classes
    NewStyleCpgPassBase
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. var nDiffT: Int
    Definition Classes
    ConcurrentWriterCpgPass
  19. def name: String
    Definition Classes
    CpgPassBase
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def runOnPart(diffGraph: DiffGraphBuilder, closureBinding: ClosureBinding): Unit

    The AstCreator adds closureBindingIds and ClosureBindings for captured locals, but does not add the required REF edges from the ClosureBinding to the captured node since the captured node may be a Local that is created by the LocalCreationPass and does not exist during AST creation.

    The AstCreator adds closureBindingIds and ClosureBindings for captured locals, but does not add the required REF edges from the ClosureBinding to the captured node since the captured node may be a Local that is created by the LocalCreationPass and does not exist during AST creation.

    This pass attempts to find the captured node in the method containing the MethodRef to the closure method, since that is the scope in which the closure would have originally been created.

    Definition Classes
    ClosureRefPass → NewStyleCpgPassBase
  24. def runWithBuilder(externalBuilder: overflowdb.BatchedUpdate.DiffGraphBuilder): Int
    Definition Classes
    NewStyleCpgPassBase → CpgPassBase
  25. def runWithBuilderLogged(builder: overflowdb.BatchedUpdate.DiffGraphBuilder): Int
    Definition Classes
    CpgPassBase
  26. def store(overlay: GeneratedMessageV3, name: String, serializedCpg: SerializedCpg): Unit
    Attributes
    protected
    Definition Classes
    CpgPassBase
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. def withStartEndTimesLogged[A](fun: => A): A
    Attributes
    protected
    Definition Classes
    CpgPassBase

Deprecated Value Members

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

Inherited from ConcurrentWriterCpgPass[ClosureBinding]

Inherited from NewStyleCpgPassBase[ClosureBinding]

Inherited from CpgPassBase

Inherited from AnyRef

Inherited from Any

Ungrouped