Java: adjust comments

This commit is contained in:
Jami Cogswell
2023-01-03 16:08:14 -05:00
parent 29221ae426
commit feaae16f7c
6 changed files with 9 additions and 9 deletions

View File

@@ -28,4 +28,4 @@ extensions:
pack: codeql/java-all
extensible: neutralModel
data:
- ["java.sql", "ResultSet", "next", "()", "manual"] # ! unsure if should be neutral model
- ["java.sql", "ResultSet", "next", "()", "manual"]

View File

@@ -3,5 +3,5 @@ extensions:
pack: codeql/java-all
extensible: neutralModel
data:
- ["java.text", "DateFormat", "format", "(Date)", "manual"] # ! unsure if should be neutral model, is flow through the param interesting in this case?
- ["java.text", "SimpleDateFormat", "SimpleDateFormat", "(String)", "manual"] # ! unsure if should be neutral model, is flow through the param interesting in this case?
- ["java.text", "DateFormat", "format", "(Date)", "manual"]
- ["java.text", "SimpleDateFormat", "SimpleDateFormat", "(String)", "manual"]

View File

@@ -4,5 +4,5 @@ extensions:
extensible: neutralModel
data:
- ["java.time", "Instant", "now", "()", "manual"]
- ["java.time", "LocalDate", "of", "(int,int,int)", "manual"] # ! unsure if should be neutral model, is flow through the param interesting in this case?
- ["java.time", "LocalDate", "of", "(int,int,int)", "manual"]
- ["java.time", "ZonedDateTime", "now", "()", "manual"]

View File

@@ -9,11 +9,11 @@ extensions:
pack: codeql/java-all
extensible: summaryModel
data:
- ["java.util.function", "Function", True, "apply", "(Object)", "", "Argument[0]", "ReturnValue", "taint", "manual"] # ! unsure if should be added as a MaD model and if model is correct
- ["java.util.function", "Function", True, "apply", "(Object)", "", "Argument[0]", "ReturnValue", "taint", "manual"]
- ["java.util.function", "Supplier", False, "get", "()", "", "Argument[-1]", "ReturnValue", "value", "manual"]
- addsTo:
pack: codeql/java-all
extensible: neutralModel
data:
- ["java.util.function", "Consumer", "accept", "(Object)", "manual"] # ! unsure if should be neutral model
- ["java.util.function", "Consumer", "accept", "(Object)", "manual"]

View File

@@ -369,7 +369,7 @@ extensions:
- ["java.util", "Collections", "emptyList", "()", "manual"]
- ["java.util", "Collections", "emptyMap", "()", "manual"]
- ["java.util", "Collections", "emptySet", "()", "manual"]
- ["java.util", "Date", "Date", "(long)", "manual"] # ! unsure if should be neutral model, is flow through the param interesting in this case?
- ["java.util", "Date", "Date", "(long)", "manual"]
- ["java.util", "Date", "getTime", "()", "manual"]
- ["java.util", "Iterator", "hasNext", "()", "manual"]
- ["java.util", "List", "clear", "()", "manual"]

View File

@@ -92,7 +92,7 @@ extensions:
pack: codeql/java-all
extensible: neutralModel
data:
- ["java.util.stream", "Collectors", "joining", "(CharSequence)", "manual"] # ! unsure if should be neutral model, is flow through the param interesting in this case?
- ["java.util.stream", "Collectors", "joining", "(CharSequence)", "manual"]
- ["java.util.stream", "Collectors", "toList", "()", "manual"]
- ["java.util.stream", "Collectors", "toMap", "(Function,Function)", "manual"] # ! unsure if should be neutral model, is flow through the param interesting in this case?
- ["java.util.stream", "Collectors", "toMap", "(Function,Function)", "manual"]
- ["java.util.stream", "Collectors", "toSet", "()", "manual"]