CCpgGenerator

io.joern.console.cpgcreation.CCpgGenerator
case class CCpgGenerator(config: FrontendConfig, rootPath: Path) extends CpgGenerator

C/C++ language frontend that translates C/C++ source files into code property graphs using Eclipse CDT parsing / preprocessing.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class CpgGenerator
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def generate(inputPath: String, outputPath: String): Try[String]

Generate a CPG for the given input path. Returns the output path, or None, if no CPG was generated.

Generate a CPG for the given input path. Returns the output path, or None, if no CPG was generated.

Attributes

Definition Classes
override def isAvailable: Boolean

Attributes

Definition Classes
override def isJvmBased: Boolean

is this a JVM based frontend? if so, we'll invoke it with -Xmx for max heap settings

is this a JVM based frontend? if so, we'll invoke it with -Xmx for max heap settings

Attributes

Definition Classes

Inherited methods

def applyPostProcessingPasses(cpg: Cpg): Cpg

override in specific cpg generators to make them apply post processing passes

override in specific cpg generators to make them apply post processing passes

Attributes

Inherited from:
CpgGenerator
def isWin: Boolean

Attributes

Inherited from:
CpgGenerator
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
protected def runShellCommand(program: String, arguments: Seq[String]): Try[Unit]

Attributes

Inherited from:
CpgGenerator

Inherited fields

lazy protected val maxMemoryParameter: Seq[String]

Attributes

Inherited from:
CpgGenerator