Java: Date models as neutral

This commit is contained in:
Jami Cogswell
2023-01-11 22:15:41 -05:00
parent 6bb865ad05
commit ce74c9d959
3 changed files with 8 additions and 4 deletions

View File

@@ -4,5 +4,8 @@ extensions:
extensible: neutralModel
data:
- ["java.time", "Instant", "now", "()", "manual"]
- ["java.time", "LocalDate", "of", "(int,int,int)", "manual"]
- ["java.time", "ZonedDateTime", "now", "()", "manual"]
# The below APIs have numeric flow and are currently being stored as neutral models.
# These may be changed to summary models with kinds "value-numeric" and "taint-numeric" (or similar) in the future.
- ["java.time", "LocalDate", "of", "(int,int,int)", "manual"] # taint-numeric