mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Python: Refactor references to NormalCall.
This commit is contained in:
@@ -31,10 +31,8 @@ predicate typeTrackerCallEdge(CallNode call, Function callable) {
|
||||
predicate typeTrackerClassCall(CallNode call, Function callable) {
|
||||
exists(call.getLocation().getFile().getRelativePath()) and
|
||||
exists(callable.getLocation().getFile().getRelativePath()) and
|
||||
exists(TT::NormalCall cc |
|
||||
cc = TT::TNormalCall(call, _, any(TT::TCallType t | t instanceof TT::CallTypeClass)) and
|
||||
TT::TFunction(callable) = TT::viableCallable(cc)
|
||||
)
|
||||
TT::resolveCall(call, callable, any(TT::TCallType t | t instanceof TT::CallTypeClass)) and
|
||||
TT::TFunction(callable) instanceof TT::DataFlowFunction
|
||||
}
|
||||
|
||||
module CallGraphTest implements TestSig {
|
||||
|
||||
Reference in New Issue
Block a user