mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Merge pull request #2106 from asger-semmle/call-graph-3
JS: Call graph changes
This commit is contained in:
@@ -61,5 +61,7 @@ where
|
||||
forex(DataFlow::InvokeNode cs2, Function otherCallee |
|
||||
cs2.getInvokeExpr() = cs.getInvokeExpr() and otherCallee = cs2.getACallee() |
|
||||
illegalInvocation(cs, otherCallee, _, _)
|
||||
)
|
||||
) and
|
||||
// require that all callees are known
|
||||
not cs.isIncomplete()
|
||||
select cs, "Illegal invocation of $@ " + how + ".", callee, calleeDesc
|
||||
|
||||
Reference in New Issue
Block a user