Files
codeql/java/ql/test/library-tests/guards/guardslogic.ql
2018-08-30 10:48:05 +01:00

9 lines
244 B
Plaintext

import java
import semmle.code.java.controlflow.Guards
from Guard g, BasicBlock bb, boolean branch
where g.controls(bb, branch)
and not g instanceof ParExpr
and g.getEnclosingCallable().getDeclaringType().hasName("Logic")
select g, branch, bb