We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00c83f1 commit c7ccfacCopy full SHA for c7ccfac
cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll
@@ -240,7 +240,7 @@ private class GuardConditionFromIR extends GuardCondition {
240
*/
241
private predicate controlsBlock(BasicBlock controlled, boolean testIsTrue) {
242
exists(IRBlock irb |
243
- forex(IRGuardCondition inst | inst = ir | inst.controls(irb, testIsTrue)) and
+ ir.controls(irb, testIsTrue) and
244
irb.getAnInstruction().getAst().(ControlFlowNode).getBasicBlock() = controlled and
245
not isUnreachedBlock(irb)
246
)
0 commit comments