Ghidra2Cpg

io.joern.ghidra2cpg.Ghidra2Cpg
class Ghidra2Cpg extends X2CpgFrontend

Attributes

Graph
Supertypes
trait X2CpgFrontend
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Type members

Types

override type ConfigType = Config

Value members

Concrete methods

override def createCpg(config: Config): Try[Cpg]

Create a CPG representing the given input file. The CPG is stored at the given output file. The caller must close the CPG.

Create a CPG representing the given input file. The CPG is stored at the given output file. The caller must close the CPG.

Attributes

Definition Classes
X2CpgFrontend
def handleProgram(program: Program, fileAbsolutePath: String, cpg: Cpg): Unit

Inherited methods

override def close(): Unit

For frontends that create and manage resources during AST generation, they can clean up these resources here.

For frontends that create and manage resources during AST generation, they can clean up these resources here.

Attributes

Definition Classes
X2CpgFrontend -> AutoCloseable
Inherited from:
X2CpgFrontend
def createCpgWithOverlays(config: ConfigType): Try[Cpg]

Create a CPG with default overlays according to given configuration

Create a CPG with default overlays according to given configuration

Attributes

Inherited from:
X2CpgFrontend
def run(config: ConfigType): Unit

Create CPG according to given configuration, printing errors to the console if they occur. The CPG is closed and not returned.

Create CPG according to given configuration, printing errors to the console if they occur. The CPG is closed and not returned.

Attributes

Inherited from:
X2CpgFrontend

Concrete fields

override val defaultConfig: Config