[java-inspections] IDEA-327142 Support not only String for Taint analyzer. Added table

GitOrigin-RevId: 8cf47f40490dd82e20e75eaae682ac218f019614
This commit is contained in:
Mikhail Pyltsin
2023-08-01 18:35:51 +02:00
committed by intellij-monorepo-bot
parent cdaa9f5b5a
commit aabad19c45
5 changed files with 30 additions and 16 deletions

View File

@@ -16,6 +16,7 @@ class JavaSourceToSinkFlowInspectionContextTest : SourceToSinkFlowInspectionTest
untaintedParameterWithPlaceIndex.add("0")
untaintedParameterWithPlacePlaceClass.add("com.example.sqlinjection.Complete.HttpServletResponse")
untaintedParameterWithPlacePlaceMethod.add("getWriter")
checkedTypes.add("java.util.List")
}
override fun getBasePath(): String {

View File

@@ -12,7 +12,7 @@ class JavaSourceToSinkFlowInspectionUnknownTest : SourceToSinkFlowInspectionTest
override val inspection: SourceToSinkFlowInspection
get() = super.inspection.also {
it.showUnknownString = false
it.showUnknownObject = false
}
override fun getBasePath(): String {