We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b68bcdb commit b1fe3a5Copy full SHA for b1fe3a5
javascript/ql/lib/semmle/javascript/ApiGraphs.qll
@@ -1033,6 +1033,9 @@ module API {
1033
rhs(_, _, rhs) and
1034
S::inScope(rhs) and
1035
nd = MkDef(rhs)
1036
+ or
1037
+ S::isAdditionalDefRoot(nd) and
1038
+ nd = mkDefLate(rhs)
1039
}
1040
1041
/**
@@ -1323,6 +1326,10 @@ module API {
1323
1326
pragma[inline_late]
1324
1327
private TApiNode mkUseLate(DataFlow::Node node) { result = MkUse(node) }
1325
1328
1329
+ bindingset[node]
1330
+ pragma[inline_late]
1331
+ private TApiNode mkDefLate(DataFlow::Node node) { result = MkDef(node) }
1332
+
1333
private import semmle.javascript.dataflow.TypeTracking
1334
1335
0 commit comments