mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
9 lines
282 B
Plaintext
9 lines
282 B
Plaintext
import java
|
|
import semmle.code.java.controlflow.Guards
|
|
|
|
from ConditionBlock cb, boolean testIsTrue, BasicBlock controlled
|
|
where
|
|
cb.controls(controlled, testIsTrue) and
|
|
cb.getEnclosingCallable().getDeclaringType().hasName("Test")
|
|
select cb.getCondition(), testIsTrue, controlled
|