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 67
67
* "taint" indicates a default additional taint step and "value" indicates a
68
68
* globally applicable value-preserving step.
69
69
* 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).
73
74
*/
74
75
75
76
import java
@@ -308,7 +309,7 @@ module ModelValidation {
308
309
not ext .regexpMatch ( "|Annotated" ) and
309
310
result = "Unrecognized extra API graph element \"" + ext + "\" in " + pred + " model."
310
311
or
311
- not provenance = [ "manual" , "generated" ] and
312
+ not provenance = [ "manual" , "generated" , "ai-generated" ] and
312
313
result = "Unrecognized provenance description \"" + provenance + "\" in " + pred + " model."
313
314
)
314
315
}
You can’t perform that action at this time.
0 commit comments