Re-factor TestOutput into a param module.

This commit is contained in:
Michael Nebel
2024-03-19 11:37:53 +01:00
parent 90db9b330f
commit 5b37ee4ec7
5 changed files with 80 additions and 41 deletions

View File

@@ -3,8 +3,12 @@ import shared.FlowSummaries
import semmle.code.csharp.frameworks.EntityFramework::EntityFramework
import semmle.code.csharp.dataflow.internal.ExternalFlow as ExternalFlow
private class IncludeEFSummarizedCallable extends IncludeSummarizedCallable instanceof EFSummarizedCallable
{ }
module TestSummaryInput implements TestSummaryInputSig {
class RelevantSummarizedCallable extends IncludeSummarizedCallable instanceof EFSummarizedCallable
{ }
}
import TestSummaryOutput<TestSummaryInput>
query predicate sourceNode(DataFlow::Node node, string kind) {
ExternalFlow::sourceNode(node, kind)