Skip to content

Commit 74669cb

Browse files
authored
Merge pull request #19382 from michaelnebel/shared/modelgenrefactor
Shared: Re-factor summary, source and sink model generators into separate modules.
2 parents cb1c373 + c9d01bc commit 74669cb

File tree

53 files changed

+1397
-1290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1397
-1290
lines changed

cpp/ql/src/utils/modelgenerator/CaptureContentSummaryModels.ql

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
import internal.CaptureModels
10+
import SummaryModels
1011

1112
from DataFlowSummaryTargetApi api, string flow
1213
where flow = ContentSensitive::captureFlow(api, _)

cpp/ql/src/utils/modelgenerator/CaptureNeutralModels.ql

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
import internal.CaptureModels
10+
import SummaryModels
1011

1112
from DataFlowSummaryTargetApi api, string noflow
1213
where noflow = captureNeutral(api)

cpp/ql/src/utils/modelgenerator/CaptureSinkModels.ql

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
*/
88

99
import internal.CaptureModels
10-
import Heuristic
10+
import SinkModels
1111

1212
from DataFlowSinkTargetApi api, string sink
13-
where sink = captureSink(api)
13+
where sink = Heuristic::captureSink(api)
1414
select sink order by sink

cpp/ql/src/utils/modelgenerator/CaptureSourceModels.ql

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
*/
88

99
import internal.CaptureModels
10-
import Heuristic
10+
import SourceModels
1111

1212
from DataFlowSourceTargetApi api, string source
13-
where source = captureSource(api)
13+
where source = Heuristic::captureSource(api)
1414
select source order by source

cpp/ql/src/utils/modelgenerator/CaptureSummaryModels.ql

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
import internal.CaptureModels
10+
import SummaryModels
1011

1112
from DataFlowSummaryTargetApi api, string flow
1213
where flow = captureFlow(api, _)

0 commit comments

Comments
 (0)