mirror of
https://github.com/github/codeql.git
synced 2026-05-22 23:27:09 +02:00
18 lines
535 B
Plaintext
18 lines
535 B
Plaintext
/**
|
|
* @name Capture neutral models.
|
|
* @description Finds neutral models to be used by other queries.
|
|
* @kind diagnostic
|
|
* @id cs/utils/modelgenerator/neutral-models
|
|
* @tags modelgenerator
|
|
*/
|
|
|
|
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
|
|
import internal.CaptureModels
|
|
import internal.CaptureSummaryFlowQuery
|
|
|
|
from DataFlowTargetApi api, string noflow
|
|
where
|
|
noflow = captureNoFlow(api) and
|
|
not api.(FlowSummaryImpl::Public::SummarizedCallable).applyManualModel()
|
|
select noflow order by noflow
|