X2CpgMain
io.joern.x2cpg.X2CpgMain
abstract class X2CpgMain[T <: X2CpgConfig[T], X <: X2CpgFrontend[T]](val cmdLineParser: OParser[Unit, T], val frontend: X)(implicit defaultConfig: T)
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
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article