mirror of
https://github.com/github/codeql.git
synced 2026-02-12 05:01:06 +01:00
15 lines
374 B
Plaintext
15 lines
374 B
Plaintext
/**
|
|
* @name Capture sink models.
|
|
* @description Finds public methods that act as sinks as they flow into a known sink.
|
|
* @kind diagnostic
|
|
* @id cpp/utils/modelgenerator/sink-models
|
|
* @tags modelgenerator
|
|
*/
|
|
|
|
import internal.CaptureModels
|
|
import SinkModels
|
|
|
|
from DataFlowSinkTargetApi api, string sink
|
|
where sink = Heuristic::captureSink(api)
|
|
select sink order by sink
|