mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
C++: Match the join order from before #5522.
This commit is contained in:
@@ -411,7 +411,7 @@ predicate addressOperandAllocationAndOffset(
|
||||
allocation.getABaseInstruction() = base and
|
||||
hasBaseAndOffset(addrOperand, base, bitOffset) and
|
||||
not exists(Instruction previousBase |
|
||||
hasBaseAndOffset(addrOperand, previousBase, _) and
|
||||
hasBaseAndOffset(addrOperand, pragma[only_bind_out](previousBase), _) and
|
||||
previousBase = base.getAnOperand().getDef()
|
||||
)
|
||||
)
|
||||
|
||||
@@ -411,7 +411,7 @@ predicate addressOperandAllocationAndOffset(
|
||||
allocation.getABaseInstruction() = base and
|
||||
hasBaseAndOffset(addrOperand, base, bitOffset) and
|
||||
not exists(Instruction previousBase |
|
||||
hasBaseAndOffset(addrOperand, previousBase, _) and
|
||||
hasBaseAndOffset(addrOperand, pragma[only_bind_out](previousBase), _) and
|
||||
previousBase = base.getAnOperand().getDef()
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user