io.joern.x2cpg.frontendspecific.pysrc2cpg

Members list

Type members

Classlikes

object Constants

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Constants.type
class DynamicTypeHintFullNamePass(cpg: Cpg) extends ForkJoinParallelCpgPass[CfgNode]

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.

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.

Attributes

Supertypes
class ForkJoinParallelCpgPass[CfgNode]
trait CpgPassBase
class Object
trait Matchable
class Any
class ImportsPass(cpg: Cpg) extends XImportsPass

Attributes

Supertypes
class XImportsPass
class ForkJoinParallelCpgPass[(Call, Assignment)]
trait CpgPassBase
class Object
trait Matchable
class Any
Show all

Attempts to solve imports similar Python, and will use heuristics to build out unresolved imports.

Attempts to solve imports similar Python, and will use heuristics to build out unresolved imports.

Attributes

See also
Supertypes
class ForkJoinParallelCpgPass[Import]
trait CpgPassBase
class Object
trait Matchable
class Any
Show all

Using some basic heuristics, will try to resolve type full names from types found within the CPG. Requires ImportPass as a pre-requisite.

Using some basic heuristics, will try to resolve type full names from types found within the CPG. Requires ImportPass as a pre-requisite.

Attributes

Supertypes
class ForkJoinParallelCpgPass[TypeDecl]
trait CpgPassBase
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class CpgPass
class ForkJoinParallelCpgPass[AnyRef]
trait CpgPassBase
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def postProcessingPasses(cpg: Cpg, typeRecoveryConfig: XTypeRecoveryConfig): List[CpgPassBase]