Skip to content

Commit 527425b

Browse files
committed
Fixes bad magic in Guard::guardControls_v3
1 parent d5478a0 commit 527425b

File tree

1 file changed

+1
-0
lines changed
  • java/ql/lib/semmle/code/java/controlflow

1 file changed

+1
-0
lines changed

java/ql/lib/semmle/code/java/controlflow/Guards.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ predicate guardControls_v2(Guard guard, BasicBlock controlled, boolean branch) {
232232
)
233233
}
234234

235+
pragma[nomagic]
235236
private predicate guardControls_v3(Guard guard, BasicBlock controlled, boolean branch) {
236237
guard.directlyControls(controlled, branch)
237238
or

0 commit comments

Comments
 (0)