mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Python: Don't rely on all DataFlowCall being resolved
I've been living dangerously with that assumption :|
This commit is contained in:
@@ -17,7 +17,8 @@ class DataFlowCallTest extends InlineExpectationsTest {
|
||||
exists(location.getFile().getRelativePath()) and
|
||||
exists(DataFlowDispatch::DataFlowCall call |
|
||||
location = call.getLocation() and
|
||||
element = call.toString()
|
||||
element = call.toString() and
|
||||
exists(call.getCallable())
|
||||
|
|
||||
value = prettyExpr(call.getNode().getNode()) and
|
||||
tag = "call"
|
||||
|
||||
Reference in New Issue
Block a user