we don't need ConstructorCall for ZipFile anymore since we have a more accurate sink for this

This commit is contained in:
am0o0
2024-07-28 12:12:07 +02:00
parent cc752113af
commit 0593eaad52

View File

@@ -378,11 +378,6 @@ module Zip {
call.getCallee().hasName("getInputStream") and
call.getQualifier() = this.asExpr()
)
or
exists(ConstructorCall call |
call.getConstructedType() instanceof TypeZipFile and
call.getAnArgument() = this.asExpr()
)
}
}