File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
java/ql/lib/semmle/code/java/dataflow Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 6767 * "taint" indicates a default additional taint step and "value" indicates a
6868 * globally applicable value-preserving step.
6969 * 9. The `provenance` column is a tag to indicate the origin of the summary.
70- * There are two supported values: "generated" and "manual". "generated" means that
71- * the model has been emitted by the model generator tool and "manual" means
72- * that the model has been written by hand.
70+ * The supported values are: "manual", "generated" and "ai-generated". "manual"
71+ * means that the model has been written by hand, "generated" means that
72+ * the model has been emitted by the model generator tool and
73+ * "ai-generated" means that the model has been AI generated (ATM project).
7374 */
7475
7576import java
@@ -308,7 +309,7 @@ module ModelValidation {
308309 not ext .regexpMatch ( "|Annotated" ) and
309310 result = "Unrecognized extra API graph element \"" + ext + "\" in " + pred + " model."
310311 or
311- not provenance = [ "manual" , "generated" ] and
312+ not provenance = [ "manual" , "generated" , "ai-generated" ] and
312313 result = "Unrecognized provenance description \"" + provenance + "\" in " + pred + " model."
313314 )
314315 }
You can’t perform that action at this time.
0 commit comments