abstract
class ConcurrentWriterCpgPass[T <: AnyRef](cpg: Cpg, outName: String, keyPool: Option[KeyPool]) extends CpgPassBase
- Companion
- object
Type members
Types
Value members
Abstract methods
WARNING: runOnPart is executed in parallel to committing of graph modifications. The upshot is that it is unsafe to read ANY data from cpg, on pain of bad race conditions
WARNING: runOnPart is executed in parallel to committing of graph modifications. The upshot is that it is unsafe to read ANY data from cpg, on pain of bad race conditions
Only use ConcurrentWriterCpgPass if you are very sure that you avoid races.
E.g. adding a CFG edge to node X races with reading an AST edge of node X.
Concrete methods
override
def createApplySerializeAndStore(serializedCpg: SerializedCpg, inverse: Boolean, prefix: String): Unit
- Definition Classes
Inherited methods
Name of the pass. By default it is inferred from the name of the class, override if needed.
Name of the pass. By default it is inferred from the name of the class, override if needed.
- Inherited from
- CpgPassBase