io.shiftleft.passes

Type members

Classlikes

class BatchUpdateBiListener(forward: Boolean, inverse: Boolean) extends ModificationListener
class BatchUpdateForwardListener extends ModificationListener
class BatchUpdateInverseListener extends ModificationListener
abstract
class ConcurrentWriterCpgPass[T <: AnyRef](cpg: Cpg, outName: String, keyPool: Option[KeyPool]) extends NewStyleCpgPassBase[T]
Companion
object
Companion
class
Companion
object
abstract
class ForkJoinParallelCpgPass[T <: AnyRef](cpg: Cpg, outName: String, keyPool: Option[KeyPool]) extends NewStyleCpgPassBase[T]
class IntervalKeyPool(val first: Long, val last: Long) extends KeyPool

A key pool that returns the integers of the interval [first, last] in a thread-safe manner.

A key pool that returns the integers of the interval [first, last] in a thread-safe manner.

trait KeyPool extends KeyPool

A pool of long integers that serve as node ids. Using the method next, the pool provides the next id in a thread-safe manner.

A pool of long integers that serve as node ids. Using the method next, the pool provides the next id in a thread-safe manner.

abstract
class NewStyleCpgPassBase[T <: AnyRef] extends CpgPassBase

NewStyleCpgPassBase is the shared base between ForkJoinParallelCpgPass and ConcurrentWriterCpgPass, containing shared boilerplate. We don't want ConcurrentWriterCpgPass as a subclass of ForkJoinParallelCpgPass because that would make it hard to whether an instance is non-racy.

NewStyleCpgPassBase is the shared base between ForkJoinParallelCpgPass and ConcurrentWriterCpgPass, containing shared boilerplate. We don't want ConcurrentWriterCpgPass as a subclass of ForkJoinParallelCpgPass because that would make it hard to whether an instance is non-racy.

Please don't subclass this directly. The only reason it's not sealed is that this would mess with our file hierarchy.

class ParallelIteratorExecutor[T](iterator: Iterator[T])(implicit executionContext: ExecutionContext)
class SequenceKeyPool(seq: Seq[Long]) extends KeyPool

A key pool that returns elements of seq in order in a thread-safe manner.

A key pool that returns elements of seq in order in a thread-safe manner.

abstract
class SimpleCpgPass(cpg: Cpg, outName: String, keyPool: Option[KeyPool]) extends ForkJoinParallelCpgPass[AnyRef]