mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Data flow: Tweak join-order in toNormalSinkNodeEx
This commit is contained in:
@@ -2728,7 +2728,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
|
||||
pragma[nomagic]
|
||||
NodeEx toNormalSinkNodeEx() {
|
||||
exists(Node n |
|
||||
node.asNodeOrImplicitRead() = n and
|
||||
pragma[only_bind_out](node.asNodeOrImplicitRead()) = n and
|
||||
(Config::isSink(n) or Config::isSink(n, _)) and
|
||||
result.asNode() = n
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user