io.joern.x2cpg.frontendspecific.jssrc2cpg

Members list

Type members

Classlikes

class ConstClosurePass(cpg: Cpg) extends CpgPass

A pass that identifies assignments of closures to constants and updates METHOD nodes accordingly.

A pass that identifies assignments of closures to constants and updates METHOD nodes accordingly.

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Defines.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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
class ObjectPropertyCallLinker(cpg: Cpg) extends CpgPass

Perform a simple analysis to find a common pattern in JavaScript where objects are dynamically assigned function pointers. To keep this precise, this will only match objects defined within the scope of the same file.

Perform a simple analysis to find a common pattern in JavaScript where objects are dynamically assigned function pointers. To keep this precise, this will only match objects defined within the scope of the same file.

This relies on JavaScriptTypeHintCallLinker.

Attributes

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

Value members

Concrete methods

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