Merge pull request #1560 from asger-semmle/static-calls

Approved by xiemaisi
This commit is contained in:
semmle-qlci
2019-07-08 16:42:32 +01:00
committed by GitHub
32 changed files with 209 additions and 0 deletions

View File

@@ -122,6 +122,9 @@ private module CachedSteps {
exists(DataFlow::ClassNode cls, string name |
callResolvesToMember(invk, cls, name) and
f = cls.getInstanceMethod(name).getFunction()
or
invk = cls.getAClassReference().getAMethodCall(name) and
f = cls.getStaticMethod(name).getFunction()
)
}