Skip to content

Commit f8a0b6c

Browse files
committed
Java: Add nomagic
1 parent 0afda68 commit f8a0b6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/lib/semmle/code/java/dataflow/RangeAnalysis.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ private Guard boundFlowCond(SsaVariable v, Expr e, int delta, boolean upper, boo
267267
/**
268268
* Gets a basic block in which `v1` equals `v2 + delta`.
269269
*/
270+
pragma[nomagic]
270271
private BasicBlock eqSsaCondDirectlyControls(SsaVariable v1, SsaVariable v2, int delta) {
271272
exists(Guard guardEq, int d1, int d2, boolean eqIsTrue |
272273
guardEq = eqFlowCond(v1, ssaRead(v2, d1), d2, true, eqIsTrue) and

0 commit comments

Comments
 (0)