mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
C#/Java: Update model converter queries.
This commit is contained in:
@@ -10,5 +10,5 @@ import semmle.code.java.dataflow.ExternalFlow
|
||||
from string package, string type, string name, string signature, string provenance
|
||||
where
|
||||
neutralModel(package, type, name, signature, provenance) and
|
||||
provenance != ["generated", "ai-generated"]
|
||||
not provenance.matches("%generated")
|
||||
select package, type, name, signature, provenance order by package, type, name, signature
|
||||
|
||||
@@ -12,6 +12,6 @@ from
|
||||
string input, string kind, string provenance
|
||||
where
|
||||
sinkModel(package, type, subtypes, name, signature, ext, input, kind, provenance) and
|
||||
provenance != ["generated", "ai-generated"]
|
||||
not provenance.matches("%generated")
|
||||
select package, type, subtypes, name, signature, ext, input, kind, provenance order by
|
||||
package, type, name, signature, input, kind
|
||||
|
||||
@@ -12,6 +12,6 @@ from
|
||||
string output, string kind, string provenance
|
||||
where
|
||||
sourceModel(package, type, subtypes, name, signature, ext, output, kind, provenance) and
|
||||
provenance != ["generated", "ai-generated"]
|
||||
not provenance.matches("%generated")
|
||||
select package, type, subtypes, name, signature, ext, output, kind, provenance order by
|
||||
package, type, name, signature, output, kind
|
||||
|
||||
@@ -12,6 +12,6 @@ from
|
||||
string input, string output, string kind, string provenance
|
||||
where
|
||||
summaryModel(package, type, subtypes, name, signature, ext, input, output, kind, provenance) and
|
||||
provenance != ["generated", "ai-generated"]
|
||||
not provenance.matches("%generated")
|
||||
select package, type, subtypes, name, signature, ext, input, output, kind, provenance order by
|
||||
package, type, name, signature, input, output, kind
|
||||
|
||||
Reference in New Issue
Block a user