p

io.joern

pysrc2cpg

package pysrc2cpg

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package memop

Type Members

  1. class AutoIncIndex extends AnyRef
  2. class CodeToCpg extends ConcurrentWriterCpgPass[InputProvider]
  3. class ContextStack extends AnyRef
  4. class DynamicTypeHintFullNamePass extends CpgPass

    The type hints we pick up via the parser are not full names.

    The type hints we pick up via the parser are not full names. This pass fixes that by retrieving the import for each dynamic type hint and adjusting the dynamic type hint full name field accordingly.

  5. class EdgeBuilder extends AnyRef
  6. class ImportsPass extends CpgPass
  7. case class LineAndColumn(line: Int, column: Int, endLine: Int, endColumn: Int) extends Product with Serializable
  8. case class MethodParameters(posStartIndex: Int, positionalParams: Iterable[NewMethodParameterIn]) extends Product with Serializable
  9. class NodeBuilder extends AnyRef
  10. class NodeToCode extends AnyRef
  11. class Py2Cpg extends AnyRef

    Entry point for general cpg generation from python code.

  12. class Py2CpgOnFileSystem extends X2CpgFrontend[Py2CpgOnFileSystemConfig]
  13. case class Py2CpgOnFileSystemConfig(outputFile: Path = Paths.get(X2CpgConfig.defaultOutputPath), inputDir: Path = null, venvDir: Path = Paths.get(".venv"), ignoreVenvDir: Boolean = true, disableDummyTypes: Boolean = false) extends X2CpgConfig[Py2CpgOnFileSystemConfig] with Product with Serializable
  14. class PythonAstVisitor extends PythonAstVisitorHelpers
  15. trait PythonAstVisitorHelpers extends AnyRef
  16. class PythonNaiveCallLinker extends CpgPass

    Link remaining unlinked Python calls to methods only by their name (not full name)

  17. class PythonTypeHintCallLinker extends XTypeHintCallLinker
  18. class PythonTypeRecovery extends XTypeRecovery[File]
  19. sealed trait PythonVersion extends AnyRef
  20. class RecoverForPythonFile extends RecoverForXCompilationUnit[File]

    Performs type recovery from the root of a compilation unit level

Value Members

  1. object CodeToCpg
  2. object Constants
  3. object ContextStack
  4. object MethodParameters extends Serializable
  5. object NewMain extends X2CpgMain[Py2CpgOnFileSystemConfig, Py2CpgOnFileSystem]
  6. object Py2Cpg
  7. object PythonAstVisitor
  8. object PythonTypeRecovery
  9. object PythonV2 extends PythonVersion
  10. object PythonV2AndV3 extends PythonVersion
  11. object PythonV3 extends PythonVersion

Ungrouped