mirror of
https://github.com/github/codeql.git
synced 2026-07-05 19:45:29 +02:00
18 lines
495 B
Plaintext
18 lines
495 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.ExternalFlow
|
|
import utils.modelgenerator.internal.CaptureModels
|
|
import utils.modelgenerator.internal.CaptureSummaryFlow
|
|
|
|
from DataFlowTargetApi api, string noflow
|
|
where
|
|
noflow = captureNoFlow(api) and
|
|
not hasSummary(api, false)
|
|
select noflow order by noflow
|