mirror of
https://github.com/github/codeql.git
synced 2026-03-27 09:48:16 +01:00
11 lines
303 B
Plaintext
11 lines
303 B
Plaintext
import csharp
|
|
import semmle.code.csharp.dataflow.internal.BaseSSA
|
|
|
|
from AssignableRead ar, AssignableDefinition def, LocalScopeVariable v
|
|
where ar = BaseSsa::getARead(def, v)
|
|
and not exists(Ssa::ExplicitDefinition edef |
|
|
edef.getADefinition() = def and
|
|
edef.getARead() = ar
|
|
)
|
|
select ar, def
|