mirror of
https://github.com/github/codeql.git
synced 2026-02-28 04:43:42 +01:00
Don't use the reflexive transitive closure, so that the predicate becomes a little more efficient
This commit is contained in:
@@ -256,7 +256,7 @@ private class BulkData extends RefType {
|
||||
*/
|
||||
private predicate inputStreamWrapper(Constructor c, int argi) {
|
||||
c.getParameterType(argi) instanceof BulkData and
|
||||
c.getDeclaringType().getASourceSupertype*().hasQualifiedName("java.io", "InputStream")
|
||||
c.getDeclaringType().getASourceSupertype+().hasQualifiedName("java.io", "InputStream")
|
||||
}
|
||||
|
||||
/** An object construction that preserves the data flow status of any of its arguments. */
|
||||
|
||||
Reference in New Issue
Block a user