Skip to content

Commit dd993c3

Browse files
authored
Merge pull request github#17509 from michaelnebel/modelgen/parammodule
C#/Java: Re-factor the model generator to be a parameterized module.
2 parents 297d321 + e608575 commit dd993c3

27 files changed

+1439
-2132
lines changed

config/identical-files.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@
5757
"java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/SsaReadPositionCommon.qll",
5858
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SsaReadPositionCommon.qll"
5959
],
60-
"Model as Data Generation Java/C# - CaptureModels": [
61-
"java/ql/src/utils/modelgenerator/internal/CaptureModels.qll",
62-
"csharp/ql/src/utils/modelgenerator/internal/CaptureModels.qll"
63-
],
6460
"Sign Java/C#": [
6561
"java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/Sign.qll",
6662
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/Sign.qll"

csharp/ql/src/utils/modelgenerator/CaptureContentSummaryModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
import internal.CaptureModels
1010

1111
from DataFlowSummaryTargetApi api, string flow
12-
where flow = captureContentFlow(api)
12+
where flow = ContentSensitive::captureFlow(api)
1313
select flow order by flow

csharp/ql/src/utils/modelgenerator/CaptureNeutralModels.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
* @tags modelgenerator
77
*/
88

9-
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
109
import internal.CaptureModels
11-
import internal.CaptureSummaryFlowQuery
1210

1311
from DataFlowSummaryTargetApi api, string noflow
1412
where noflow = captureNoFlow(api)

csharp/ql/src/utils/modelgenerator/CaptureSummaryModels.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
* @tags modelgenerator
77
*/
88

9-
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
109
import internal.CaptureModels
11-
import internal.CaptureSummaryFlowQuery
1210

1311
from DataFlowSummaryTargetApi api, string flow
1412
where flow = captureFlow(api)

0 commit comments

Comments
 (0)