io.joern.x2cpg.frontendspecific.php2cpg

Members list

Type members

Classlikes

class ComposerAutoloadPass(cpg: Cpg) extends ForkJoinParallelCpgPass[Method]

Composer's autoload feature implicitly brings in dependencies into a file. This pass will detect such imports and fully qualify type names referencing non-stub types. This pass also considers types brought in by the dependency downloader.

Composer's autoload feature implicitly brings in dependencies into a file. This pass will detect such imports and fully qualify type names referencing non-stub types. This pass also considers types brought in by the dependency downloader.

Attributes

Supertypes
class ForkJoinParallelCpgPass[Method]
trait CpgPassBase
class Object
trait Matchable
class Any
case class KnownFunction(name: String, rTypes: Seq[String], pTypes: Seq[Seq[String]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class PhpTypeHintCallLinker(cpg: Cpg) extends XTypeHintCallLinker

Attributes

Supertypes
class CpgPass
class ForkJoinParallelCpgPass[AnyRef]
trait CpgPassBase
class Object
trait Matchable
class Any
Show all
class PhpTypeRecoveryPassGenerator(cpg: Cpg, config: XTypeRecoveryConfig) extends XTypeRecoveryPassGenerator[NamespaceBlock]

Attributes

Supertypes
class XTypeRecoveryPassGenerator[NamespaceBlock]
class Object
trait Matchable
class Any
class PhpTypeStubsParserPass(cpg: Cpg, config: XTypeStubsParserConfig) extends ForkJoinParallelCpgPass[KnownFunction]

Sets the return and parameter types for builtin functions with known function signatures.

Sets the return and parameter types for builtin functions with known function signatures.

TODO: Need to handle variadic arguments.

Attributes

Supertypes
class ForkJoinParallelCpgPass[KnownFunction]
trait CpgPassBase
class Object
trait Matchable
class Any

Value members

Concrete methods

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