Shared: Only use heuristic summary flow in case there is no content based flow.

This commit is contained in:
Michael Nebel
2024-10-02 14:39:27 +02:00
parent 2427227b84
commit 104d448b16

View File

@@ -881,7 +881,7 @@ module MakeModelGenerator<
string captureMixedFlow(DataFlowSummaryTargetApi api, boolean lift) {
result = ContentSensitive::captureFlow(api, lift)
or
not exists(ContentSensitive::captureFlow(api, lift)) and
not exists(ContentSensitive::captureFlow(api, _)) and
result = captureFlow(api) and
lift = true
}