mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Java: Use negative summary models in unsupported external api telemetry query.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/** Provides modules for importing negative summaries. */
|
||||
|
||||
/**
|
||||
* A module importing the frameworks that provide external flow data,
|
||||
* ensuring that they are visible to the taint tracking / data flow library.
|
||||
*/
|
||||
private module Frameworks {
|
||||
private import semmle.code.java.frameworks.GeneratedNegative
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* A module importing all generated negative Models as Data models.
|
||||
*/
|
||||
private module GeneratedFrameworks {
|
||||
private import apache.NegativeIOGenerated
|
||||
}
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
import java
|
||||
import semmle.code.java.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
|
||||
import semmle.code.java.dataflow.internal.NegativeSummary
|
||||
import ExternalApi
|
||||
|
||||
private predicate getRelevantUsages(ExternalApi api, int usages) {
|
||||
|
||||
Reference in New Issue
Block a user