mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
C++: Fix range analysis for new API
This commit is contained in:
@@ -9,7 +9,9 @@ query predicate instructionBounds(Instruction i, Bound b, int delta, boolean upp
|
||||
(
|
||||
i.getAUse() instanceof ArgumentOperand
|
||||
or
|
||||
i.getAUse() instanceof ReturnValueOperand
|
||||
exists(ReturnValueInstruction retInstr |
|
||||
retInstr.getReturnValueOperand() = i.getAUse()
|
||||
)
|
||||
) and
|
||||
(
|
||||
upper = true and
|
||||
|
||||
Reference in New Issue
Block a user