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 d05f604

Browse filesBrowse files
committed
C++: Adjust the model generator queries to the new shared implementation.
1 parent f6135d5 commit d05f604
Copy full SHA for d05f604

6 files changed

+4
-28
lines changed

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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureMixedNeutralModels.ql
-13Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureMixedSummaryModels.ql
-13Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureNeutralModels.ql
+1-1Lines 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 noflow
12-
where noflow = captureNoFlow(api)
12+
where noflow = captureNeutral(api)
1313
select noflow order by noflow

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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureSinkModels.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 Heuristic
1011

1112
from DataFlowSinkTargetApi api, string sink
1213
where sink = captureSink(api)

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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureSourceModels.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 Heuristic
1011

1112
from DataFlowSourceTargetApi api, string source
1213
where source = captureSource(api)

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

Copy file name to clipboardExpand all lines: cpp/ql/src/utils/modelgenerator/CaptureSummaryModels.ql
+1-1Lines 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 = captureFlow(api)
12+
where flow = captureFlow(api, _)
1313
select flow order by flow

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.