Improve bad join order

This commit is contained in:
Owen Mansel-Chan
2025-02-21 10:31:46 +00:00
parent a1b7096125
commit 50d1bc6aa0

View File

@@ -385,9 +385,9 @@ module BarrierGuard<guardChecksSig/3 guardChecks> {
Node nd, Node resNode
) {
guardingFunction(g, f, inp, outp, p) and
c = f.getACall() and
c = pragma[only_bind_into](f).getACall() and
nd = inp.getNode(c) and
localFlow(pragma[only_bind_out](outp.getNode(c)), resNode)
localFlow(outp.getNode(c), resNode)
}
private predicate onlyPossibleReturnSatisfyingProperty(