LayerCreator

abstract
class Object
trait Matchable
class Any
class Base
class CallGraph
class DumpAst
class DumpCdg
class DumpCfg

Value members

Abstract methods

def create(context: LayerCreatorContext, storeUndoInfo: Boolean): Unit

Concrete methods

protected
def initSerializedCpg(outputDir: Option[String], passName: String, index: Int): SerializedCpg
def run(context: LayerCreatorContext, storeUndoInfo: Boolean): Unit
protected
def runPass(pass: CpgPassBase, context: LayerCreatorContext, storeUndoInfo: Boolean, index: Int): Unit

Abstract fields

val description: String
val overlayName: String

Concrete fields

val dependsOn: List[String]
protected
val modifiesCpg: Boolean

If the LayerCreator modifies the CPG, then we store its name in the CPGs metadata and disallow rerunning the creator, that is, applying the layer twice.

If the LayerCreator modifies the CPG, then we store its name in the CPGs metadata and disallow rerunning the creator, that is, applying the layer twice.