Merge pull request #2106 from asger-semmle/call-graph-3

JS: Call graph changes
This commit is contained in:
Max Schaefer
2019-10-28 09:24:10 +00:00
committed by GitHub
26 changed files with 567 additions and 317 deletions

View File

@@ -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