io.joern.pysrc2cpg.Py2Cpg
See thePy2Cpg companion object
class Py2Cpg(inputProviders: Iterable[InputProvider], outputCpg: Cpg, inputPath: String, requirementsTxt: String, schemaValidationMode: ValidationMode, enableFileContent: Boolean)
Entry point for general cpg generation from python code.
Value parameters
- inputPath
-
The project root.
- inputProviders
-
Set of functions which provide InputPairs. The functions must be safe to call from different threads.
- outputCpg
-
Empty target cpg which will be populated.
- requirementsTxt
-
The configured name of the requirements txt file.
- schemaValidationMode
-
The boolean switch for enabling or disabling early schema checking during AST creation.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article