Files
codeql/java/ql/test/library-tests/guards12/guard.ql
2019-06-04 16:03:23 +02:00

9 lines
233 B
Plaintext

import java
import semmle.code.java.controlflow.Guards
from Guard g, BasicBlock bb, boolean branch, VarAccess e1, Expr e2, boolean pol
where
g.controls(bb, branch) and
g.isEquality(e1, e2, pol)
select g, e1, e2, pol, branch, bb