mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
8 lines
270 B
Plaintext
8 lines
270 B
Plaintext
import csharp
|
|
|
|
from int uses, int live
|
|
where
|
|
uses = strictcount(Ssa::ExplicitDefinition ssa, AssignableRead read | read = ssa.getARead()) and
|
|
live = strictcount(Ssa::ExplicitDefinition ssa, ControlFlowGraph::BasicBlock bb | ssa.isLiveAtEndOfBlock(bb))
|
|
select uses, live
|