mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Java: Improve join-order.
This commit is contained in:
@@ -19,8 +19,9 @@ private predicate runner(Method m, int n, Method runmethod) {
|
||||
exists(Parameter p, MethodAccess ma, int j |
|
||||
p = m.getParameter(n) and
|
||||
ma.getEnclosingCallable() = m and
|
||||
runner(ma.getMethod().getSourceDeclaration(), j, _) and
|
||||
ma.getArgument(j) = p.getAnAccess()
|
||||
runner(pragma[only_bind_into](ma.getMethod().getSourceDeclaration()),
|
||||
pragma[only_bind_into](j), _) and
|
||||
ma.getArgument(pragma[only_bind_into](j)) = p.getAnAccess()
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user