io.joern.jssrc2cpg.passes
package io.joern.jssrc2cpg.passes
Members list
Type members
Classlikes
class AstCreationPass(cpg: Cpg, astGenRunnerResult: AstGenRunnerResult, config: Config, report: Report)(implicit withSchemaValidation: ValidationMode) extends ForkJoinParallelCpgPass[(String, String)]
Attributes
- Supertypes
-
class ForkJoinParallelCpgPass[(String, String)]trait CpgPassBaseclass Objecttrait Matchableclass Any
class ConfigPass(cpg: Cpg, config: Config, report: Report) extends ForkJoinParallelCpgPass[Path]
Attributes
- Supertypes
-
class ForkJoinParallelCpgPass[Path]trait CpgPassBaseclass Objecttrait Matchableclass Any
- Known subtypes
-
class PrivateKeyFilePass
class DependenciesPass(cpg: Cpg, config: Config) extends CpgPass
Creation of DEPENDENCY nodes from "package.json" files.
Creation of DEPENDENCY nodes from "package.json" files.
Attributes
- Supertypes
-
class CpgPassclass ForkJoinParallelCpgPass[AnyRef]trait CpgPassBaseclass Objecttrait Matchableclass AnyShow all
object EcmaBuiltins
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EcmaBuiltins.type
class ImportsPass(cpg: Cpg) extends XImportsPass
This pass creates IMPORT
nodes by looking for calls to require
. IMPORT
nodes are linked to existing dependency nodes, or, if no suitable dependency node exists, a dependency node is created.
This pass creates IMPORT
nodes by looking for calls to require
. IMPORT
nodes are linked to existing dependency nodes, or, if no suitable dependency node exists, a dependency node is created.
TODO with this, we can have multiple IMPORT nodes that point to the same call: one created during AST creation, and one using this pass.
TODO Dependency node creation is still missing.
Attributes
- Supertypes
-
class XImportsPassclass ForkJoinParallelCpgPass[(Call, Assignment)]trait CpgPassBaseclass Objecttrait Matchableclass AnyShow all
class JavaScriptMetaDataPass(cpg: Cpg, hash: String, inputPath: String) extends CpgPass
Attributes
- Supertypes
-
class CpgPassclass ForkJoinParallelCpgPass[AnyRef]trait CpgPassBaseclass Objecttrait Matchableclass AnyShow all
object JavaScriptTypeNodePass
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
class PrivateKeyFilePass(cpg: Cpg, config: Config, report: Report) extends ConfigPass
Attributes
- Supertypes
-
class ConfigPassclass ForkJoinParallelCpgPass[Path]trait CpgPassBaseclass Objecttrait Matchableclass AnyShow all
In this article