mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
10 lines
179 B
Plaintext
10 lines
179 B
Plaintext
import cpp
|
|
|
|
predicate isReachable(BasicBlock bb) {
|
|
bb instanceof EntryBasicBlock or
|
|
isReachable(bb.getAPredecessor())
|
|
}
|
|
|
|
from BasicBlock bb
|
|
where not isReachable(bb)
|
|
select bb |