JavaCpgGenerator

io.joern.console.cpgcreation.JavaCpgGenerator
See theJavaCpgGenerator companion object
case class JavaCpgGenerator(config: FrontendConfig, rootPath: Path) extends CpgGenerator

Language frontend for Java archives (JAR files). Translates Java archives into code property graphs.

Attributes

Companion
object
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