io.joern.x2cpg.passes.controlflow

Type members

Classlikes

class CfgCreationPass(cpg: Cpg) extends ConcurrentWriterCpgPass[Method]

A pass that creates control flow graphs from abstract syntax trees.

A pass that creates control flow graphs from abstract syntax trees.

Control flow graphs can be calculated independently per method. Therefore, we inherit from ConcurrentWriterCpgPass.

Note: the version of OverflowDB that we currently use as a storage backend does not assign ids to edges and this pass only creates edges at the moment. Therefore, we currently do without key pools.