We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfa2ec1 commit 8d59df2Copy full SHA for 8d59df2
javascript/ql/src/semmle/javascript/dataflow/internal/FlowSteps.qll
@@ -119,7 +119,6 @@ private module CachedSteps {
119
predicate calls(DataFlow::InvokeNode invk, Function f) {
120
f = invk.getACallee(0)
121
or
122
- not f.getTopLevel().isExterns() and
123
exists(DataFlow::ClassNode cls, string name |
124
callResolvesToMember(invk, cls, name) and
125
f = cls.getInstanceMethod(name).getFunction()
@@ -129,7 +128,6 @@ private module CachedSteps {
129
128
)
130
131
// Call from `foo.bar.baz()` to `foo.bar.baz = function()`
132
133
exists(string name |
134
GlobalAccessPath::isAssignedInUniqueFile(name) and
135
GlobalAccessPath::fromRhs(f.flow()) = name and
0 commit comments