CallLinkerPass

class CallLinkerPass(cpg: Cpg) extends CpgPass

The Javascript specific call linker links static call sites (by full name) and call sites to methods in the same file (by name).

Companion:
object
class CpgPass
trait CpgPassBase
class Object
trait Matchable
class Any

Value members

Concrete methods

override def run(): Iterator[DiffGraph]
Definition Classes
CpgPass

Inherited methods

override def createAndApply(): Unit

Execute the pass and apply result to the underlying graph

Execute the pass and apply result to the underlying graph

Definition Classes
CpgPass -> CpgPassBase
Inherited from:
CpgPass
def createApplyAndSerialize(inverse: Boolean): Iterator[GeneratedMessageV3]

Execute and create a serialized overlay

Execute and create a serialized overlay

Value parameters:
inverse

invert the diffgraph before serializing

Inherited from:
CpgPass
override def createApplySerializeAndStore(serializedCpg: SerializedCpg, inverse: Boolean, prefix: String): Unit

Run a CPG pass to create diff graphs, apply diff graphs, create corresponding overlays and add them to the serialized CPG. The name of the overlay is derived from the class name of the pass.

Run a CPG pass to create diff graphs, apply diff graphs, create corresponding overlays and add them to the serialized CPG. The name of the overlay is derived from the class name of the pass.

Value parameters:
inverse

invert the diffgraph before serializing

prefix

a prefix to add to the output name

serializedCpg

the destination serialized CPG to add overlays to

Definition Classes
CpgPass -> CpgPassBase
Inherited from:
CpgPass
def name: String

Name of the pass. By default it is inferred from the name of the class, override if needed.

Name of the pass. By default it is inferred from the name of the class, override if needed.

Inherited from:
CpgPassBase