mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Shared: Only use heuristic summary flow in case there is no content based flow.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user