Skip to content

Commit f230a37

Browse files
authored
Merge pull request github#6804 from tausbn/python-fix-bad-magic-in-conditionblock-controls
Python: Fix bad magic in `controls/2`
2 parents 7f7f906 + 54aec7b commit f230a37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ql/lib/semmle/python/GuardedControlFlow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class ConditionBlock extends BasicBlock {
99
}
1010

1111
/** Basic blocks controlled by this condition, i.e. those BBs for which the condition is testIsTrue */
12+
pragma[nomagic]
1213
predicate controls(BasicBlock controlled, boolean testIsTrue) {
1314
/*
1415
* For this block to control the block 'controlled' with 'testIsTrue' the following must be true:

0 commit comments

Comments
 (0)