-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathjava.time.model.yml
More file actions
25 lines (24 loc) · 1.91 KB
/
java.time.model.yml
File metadata and controls
25 lines (24 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
extensions:
- addsTo:
pack: codeql/java-all
extensible: neutralModel
data:
- ["java.time", "Instant", "now", "()", "summary", "manual"]
- ["java.time", "LocalDate", "now", "()", "summary", "manual"]
- ["java.time", "LocalDateTime", "now", "()", "summary", "manual"]
- ["java.time", "ZonedDateTime", "now", "()", "summary", "manual"]
- ["java.time", "ZoneId", "of", "(String)", "summary", "manual"]
- ["java.time", "ZoneId", "systemDefault", "()", "summary", "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", "Duration", "ofMillis", "(long)", "summary", "manual"] # taint-numeric
- ["java.time", "Duration", "ofMinutes", "(long)", "summary", "manual"] # taint-numeric
- ["java.time", "Duration", "ofSeconds", "(long)", "summary", "manual"] # taint-numeric
- ["java.time", "Duration", "toMillis", "()", "summary", "manual"] # taint-numeric
- ["java.time", "Instant", "ofEpochMilli", "(long)", "summary", "manual"] # taint-numeric
- ["java.time", "Instant", "parse", "(CharSequence)", "summary", "manual"] # taint-numeric
- ["java.time", "Instant", "toEpochMilli", "()", "summary", "manual"] # taint-numeric
- ["java.time", "LocalDate", "plusDays", "(long)", "summary", "manual"] # taint-numeric
- ["java.time", "LocalDate", "of", "(int,int,int)", "summary", "manual"] # taint-numeric
- ["java.time", "LocalDate", "parse", "(CharSequence)", "summary", "manual"] # taint-numeric
- ["java.time", "LocalDateTime", "of", "(int,int,int,int,int,int)", "summary", "manual"] # taint-numeric