io.joern.x2cpg

Type members

Classlikes

object Ast
Companion:
class
case class Ast(nodes: Seq[NewNode], edges: Seq[AstEdge], conditionEdges: Seq[AstEdge], refEdges: Seq[AstEdge], bindsEdges: Seq[AstEdge], receiverEdges: Seq[AstEdge], argEdges: Seq[AstEdge])
Companion:
object
abstract class AstCreatorBase(filename: String)
case class AstEdge(src: NewNode, dst: NewNode)
object X2Cpg
Companion:
class
trait X2CpgConfig[R]
Companion:
object
trait X2CpgFrontend[T <: X2CpgConfig[_]]

Trait that represents a CPG generator, where T is the frontend configuration class.

Trait that represents a CPG generator, where T is the frontend configuration class.

abstract class X2CpgMain[T <: X2CpgConfig[T], X <: X2CpgFrontend[_]](cmdLineParser: OParser[Unit, T], frontend: X)(implicit defaultConfig: T) extends App

Base class for Main classes of CPG frontends.

Base class for Main classes of CPG frontends.

Main classes that inherit from this base class parse the command line, exiting with an error code if this does not succeed. On success, the method run is called, which evaluates, given a frontend and a configuration, creates the CPG and stores it on disk.

Value parameters:
cmdLineParser

parser for command line arguments

frontend

the frontend to use for CPG creation