mirror of
https://github.com/github/codeql.git
synced 2026-01-05 10:40:21 +01:00
18 lines
444 B
Plaintext
18 lines
444 B
Plaintext
/**
|
|
* @name Capture sink models.
|
|
* @description Finds public methods that act as sinks as they flow into a known sink.
|
|
* @kind diagnostic
|
|
* @id java/utils/modelgenerator/sink-models
|
|
* @tags modelgenerator
|
|
*/
|
|
|
|
import internal.CaptureModels
|
|
|
|
class Activate extends ActiveConfiguration {
|
|
override predicate activateToSinkConfig() { any() }
|
|
}
|
|
|
|
from DataFlowTargetApi api, string sink
|
|
where sink = captureSink(api)
|
|
select sink order by sink
|