X2CpgFrontend
Trait that represents a CPG generator, where T is the frontend configuration class.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Create a CPG according to given configuration. Returns CPG wrapped in a Try
, making it possible to detect and inspect exceptions in CPG generation. To be provided by the frontend.
Create a CPG according to given configuration. Returns CPG wrapped in a Try
, making it possible to detect and inspect exceptions in CPG generation. To be provided by the frontend.
Attributes
Concrete methods
Create a CPG for code at inputName
(a single location) with default frontend configuration. If outputName
exists, it is the file name of the resulting CPG. Otherwise, the CPG is held in memory.
Create a CPG for code at inputName
(a single location) with default frontend configuration. If outputName
exists, it is the file name of the resulting CPG. Otherwise, the CPG is held in memory.
Attributes
Create a CPG in memory for file at inputName
with default configuration.
Create a CPG in memory for file at inputName
with default configuration.
Attributes
Create a CPG with default overlays according to given configuration
Create a CPG with default overlays according to given configuration
Attributes
Create a CPG for code at inputPath
and apply default overlays.
Create a CPG for code at inputPath
and apply default overlays.
Attributes
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.