mirror of
https://github.com/github/codeql.git
synced 2026-05-23 07:37:08 +02:00
14 lines
340 B
Plaintext
14 lines
340 B
Plaintext
/**
|
|
* @name Capture sink models.
|
|
* @description Finds public methods that act as sinks as they flow into a known sink.
|
|
* @kind diagnostic
|
|
* @id cs/utils/modelgenerator/sink-models
|
|
* @tags modelgenerator
|
|
*/
|
|
|
|
import internal.CaptureModels
|
|
|
|
from DataFlowTargetApi api, string sink
|
|
where sink = captureSink(api)
|
|
select sink order by sink
|