mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Fix FPs and typo
This commit is contained in:
@@ -8,7 +8,7 @@ predicate multipleCallsToSuperclassMethod(Function meth, Function calledMulti, s
|
||||
exists(DataFlow::MethodCallNode call1, DataFlow::MethodCallNode call2, Class cls |
|
||||
meth.getName() = name and
|
||||
meth.getScope() = cls and
|
||||
not call1 = call2 and
|
||||
call1.asExpr() != call2.asExpr() and
|
||||
calledMulti = getASuperCallTarget(cls, meth, call1) and
|
||||
calledMulti = getASuperCallTarget(cls, meth, call2) and
|
||||
nonTrivial(calledMulti)
|
||||
|
||||
@@ -15,7 +15,7 @@ import python
|
||||
import MethodCallOrder
|
||||
|
||||
predicate multipleCallsToSuperclassDel(Function meth, Function calledMulti) {
|
||||
multipleCallsToSuperclassMethod(meth, calledMulti, "__sel__")
|
||||
multipleCallsToSuperclassMethod(meth, calledMulti, "__del__")
|
||||
}
|
||||
|
||||
from Function meth, Function calledMulti
|
||||
|
||||
Reference in New Issue
Block a user