io.joern.x2cpg

package io.joern.x2cpg

Members list

Type members

Classlikes

object Ast

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Ast.type
case class Ast(nodes: Seq[NewNode], edges: Seq[AstEdge], conditionEdges: Seq[AstEdge], refEdges: Seq[AstEdge], bindsEdges: Seq[AstEdge], receiverEdges: Seq[AstEdge], argEdges: Seq[AstEdge])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class AstCreatorBase(filename: String)

Attributes

Supertypes
class Object
trait Matchable
class Any
case class AstEdge(src: NewNode, dst: NewNode)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait AstNodeBuilder[Node, NodeProcessor]

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
NodeProcessor
object Defines

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Defines.type
object Imports

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Imports.type
object SourceFiles

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object X2Cpg

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
X2Cpg.type
object X2CpgConfig

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait X2CpgConfig[R]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
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.

Attributes

Supertypes
class Object
trait Matchable
class Any
abstract class X2CpgMain[T <: X2CpgConfig[T], X <: X2CpgFrontend[_]](cmdLineParser: OParser[Unit, T], frontend: X)(implicit defaultConfig: T)

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

Attributes

Supertypes
class Object
trait Matchable
class Any