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