Update javascript/ql/src/semmle/javascript/dataflow/internal/CallGraphs.qll

Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
Erik Krogh Kristensen
2021-03-10 15:00:48 +01:00
committed by GitHub
parent 49b1bfc41b
commit ea6d3bde9c

View File

@@ -59,7 +59,10 @@ module CallGraph {
/**
* Gets a reference to `function` type-tracked by `t`.
* Only considers callgraph specific steps.
*
* This only includes steps that aren't included in ordinary type-tracking.
* For example, this steps from a method definition to an access on an instance, but
* does not step through access paths, as those are included in type-tracking already.
*/
cached
DataFlow::SourceNode callgraphStep(DataFlow::FunctionNode function, DataFlow::TypeTracker t) {