Merge pull request #12110 from jcogs33/jcogs33/add-heuristic-sql-models

Java: add sql summary model discovered with heuristics
This commit is contained in:
Jami
2023-03-22 15:20:01 -04:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
---
category: minorAnalysis
---
* Added a summary model for the `nativeSQL` method of the `java.sql.Connection` interface.

View File

@@ -20,6 +20,7 @@ extensions:
pack: codeql/java-all
extensible: summaryModel
data:
- ["java.sql", "Connection", True, "nativeSQL", "(String)", "", "Argument[0]", "ReturnValue", "taint", "manual"]
- ["java.sql", "PreparedStatement", True, "setString", "(int,String)", "", "Argument[1]", "Argument[this]", "value", "manual"]
- ["java.sql", "ResultSet", True, "getString", "(String)", "", "Argument[this]", "ReturnValue", "taint", "manual"]
- addsTo: