Skip to content

Commit d9217d8

Browse files
committed
C++: Adjust the model generator queries to the new shared implementation.
1 parent 7b8dff1 commit d9217d8

File tree

6 files changed

+4
-28
lines changed

6 files changed

+4
-28
lines changed

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

cpp/ql/src/utils/modelgenerator/CaptureNeutralModels.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 noflow
12-
where noflow = captureNoFlow(api)
12+
where noflow = captureNeutral(api)
1313
select noflow order by noflow

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

Lines 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

Lines 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

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 = captureFlow(api)
12+
where flow = captureFlow(api, _)
1313
select flow order by flow

0 commit comments

Comments
 (0)