mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
10 lines
186 B
Plaintext
10 lines
186 B
Plaintext
import java
|
|
import semmle.code.java.controlflow.Dominance
|
|
|
|
from IfStmt i, BlockStmt b
|
|
where
|
|
b = i.getThen() and
|
|
dominates(i.getThen(), b) and
|
|
dominates(i.getElse(), b)
|
|
select i, b
|