mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Update python/ql/test/experimental/library-tests/CallGraph/InlineCallGraphTest.ql
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
committed by
GitHub
parent
5950c336e2
commit
8b5756526c
@@ -31,8 +31,7 @@ predicate typeTrackerCallEdge(CallNode call, Function callable) {
|
||||
predicate typeTrackerClassCall(CallNode call, Function callable) {
|
||||
exists(call.getLocation().getFile().getRelativePath()) and
|
||||
exists(callable.getLocation().getFile().getRelativePath()) and
|
||||
TT::resolveCall(call, callable, any(TT::TCallType t | t instanceof TT::CallTypeClass)) and
|
||||
TT::TFunction(callable) instanceof TT::DataFlowFunction
|
||||
TT::resolveCall(call, callable, any(TT::TCallType t | t instanceof TT::CallTypeClass))
|
||||
}
|
||||
|
||||
module CallGraphTest implements TestSig {
|
||||
|
||||
Reference in New Issue
Block a user