Skip to content

Shared: Re-factor summary, source and sink model generators into separate modules. #19382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 2, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

import internal.CaptureModels
import SummaryModels

from DataFlowSummaryTargetApi api, string flow
where flow = ContentSensitive::captureFlow(api, _)
Expand Down
1 change: 1 addition & 0 deletions cpp/ql/src/utils/modelgenerator/CaptureNeutralModels.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

import internal.CaptureModels
import SummaryModels

from DataFlowSummaryTargetApi api, string noflow
where noflow = captureNeutral(api)
Expand Down
4 changes: 2 additions & 2 deletions cpp/ql/src/utils/modelgenerator/CaptureSinkModels.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
*/

import internal.CaptureModels
import Heuristic
import SinkModels

from DataFlowSinkTargetApi api, string sink
where sink = captureSink(api)
where sink = Heuristic::captureSink(api)
select sink order by sink
4 changes: 2 additions & 2 deletions cpp/ql/src/utils/modelgenerator/CaptureSourceModels.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
*/

import internal.CaptureModels
import Heuristic
import SourceModels

from DataFlowSourceTargetApi api, string source
where source = captureSource(api)
where source = Heuristic::captureSource(api)
select source order by source
1 change: 1 addition & 0 deletions cpp/ql/src/utils/modelgenerator/CaptureSummaryModels.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

import internal.CaptureModels
import SummaryModels

from DataFlowSummaryTargetApi api, string flow
where flow = captureFlow(api, _)
Expand Down
Loading
Loading