mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Python: Refactor references to NormalCall.
This commit is contained in:
@@ -21,8 +21,11 @@ module DataFlowCallTest implements TestSig {
|
||||
value = prettyExpr(call.getNode().getNode()) and
|
||||
tag = "call"
|
||||
or
|
||||
value = call.(DataFlowDispatch::NormalCall).getCallType().toString() and
|
||||
tag = "callType"
|
||||
exists(DataFlowDispatch::CallType callType |
|
||||
DataFlowDispatch::resolveCall(call.getNode(), _, callType) and
|
||||
value = callType.toString() and
|
||||
tag = "callType"
|
||||
)
|
||||
or
|
||||
exists(DataFlowDispatch::ArgumentPosition pos, DataFlow::Node arg |
|
||||
arg = call.getArgument(pos)
|
||||
|
||||
Reference in New Issue
Block a user