C++: Fix range analysis for new API

This commit is contained in:
Dave Bartolomeo
2019-02-12 09:38:11 -08:00
parent c224bbd767
commit f5121d71bc
4 changed files with 6 additions and 4 deletions

View File

@@ -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