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 860b3d7 commit 5064cd5Copy full SHA for 5064cd5
javascript/ql/src/meta/alerts/CallGraph.ql
@@ -12,7 +12,10 @@ import javascript
12
13
from DataFlow::Node invoke, Function f, string kind
14
where
15
- invoke.(DataFlow::InvokeNode).getACallee() = f and kind = "Call"
16
- or
17
- invoke.(DataFlow::PropRef).getAnAccessorCallee().getFunction() = f and kind = "Accessor call"
+ (
+ invoke.(DataFlow::InvokeNode).getACallee() = f and kind = "Call"
+ or
18
+ invoke.(DataFlow::PropRef).getAnAccessorCallee().getFunction() = f and kind = "Accessor call"
19
+ ) and
20
+ not f.getTopLevel().isExterns()
21
select invoke, kind + " to $@", f, f.describe()
0 commit comments