Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 74669cb

Browse filesBrowse 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
Copy full SHA for 74669cb

File tree

53 files changed

+1397
-1290
lines changed
Filter options

Some content is hidden

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

53 files changed

+1397
-1290
lines changed

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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureContentSummaryModels.ql
+1Lines changed: 1 addition & 0 deletions
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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureNeutralModels.ql
+1Lines changed: 1 addition & 0 deletions
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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureSinkModels.ql
+2-2Lines changed: 2 additions & 2 deletions
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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureSourceModels.ql
+2-2Lines changed: 2 additions & 2 deletions
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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureSummaryModels.ql
+1Lines changed: 1 addition & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.