mirror of
https://github.com/github/codeql.git
synced 2026-01-06 11:10:23 +01:00
9 lines
255 B
Plaintext
9 lines
255 B
Plaintext
import java
|
|
import semmle.code.java.dataflow.SSA
|
|
|
|
from int uses, int live
|
|
where
|
|
uses = strictcount(SsaVariable ssa, VarRead use | use = ssa.getAUse()) and
|
|
live = strictcount(SsaVariable ssa, BasicBlock b | ssa.isLiveAtEndOfBlock(b))
|
|
select uses, live
|