Skip to content

Commit ea6d3bd

Browse files
erik-kroghasgerf
andauthored
Update javascript/ql/src/semmle/javascript/dataflow/internal/CallGraphs.qll
Co-authored-by: Asger F <[email protected]>
1 parent 49b1bfc commit ea6d3bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ module CallGraph {
5959

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

0 commit comments

Comments
 (0)