io.joern.x2cpg
Members list
Packages
This package solely exists to extract some code from the frontends that is shared between joern and the frontends, e.g. for parsing commandline arguments and running postprocessing passes.
This package solely exists to extract some code from the frontends that is shared between joern and the frontends, e.g. for parsing commandline arguments and running postprocessing passes.
If this code was to be in the frontend's subproject, joern would need to have classpath-dependencies on the frontends, inheriting all their transitive dependencies. As discussed in e.g. https://github.com/joernio/joern/issues/4625#issuecomment-2166427270 we want to avoid having classpath dependencies on the frontends and instead invoke them frontends as external processes (i.e. execute their start script). Otherwise we'll end in jar hell with various incompatible versions of many different dependencies, and complex issues with things like OSGI and JPMS.
Attributes
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait AstGenNodeBuilder[NodeProcessor]
- Self type
-
NodeProcessor
Enables the configuration to specify if dependencies should be downloaded for additional symbol information.
Enables the configuration to specify if dependencies should be downloaded for additional symbol information.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
R
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SourceFiles.type
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
X2CpgConfig.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
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 Objecttrait Matchableclass Any
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 Objecttrait Matchableclass Any