mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
7 lines
278 B
Plaintext
7 lines
278 B
Plaintext
import csharp
|
|
import ControlFlow
|
|
|
|
from BasicBlocks::ConditionBlock cb, BasicBlock controlled, boolean testIsTrue
|
|
where cb.controls(controlled,any(SuccessorTypes::ConditionalSuccessor s | testIsTrue = s.getValue()))
|
|
select cb.getLastNode(), controlled.getFirstNode(), testIsTrue
|