mirror of
https://github.com/github/codeql.git
synced 2026-03-30 20:28:15 +02:00
11 lines
370 B
Plaintext
11 lines
370 B
Plaintext
import csharp
|
|
|
|
from string inout, Ssa::ExplicitDefinition def, Ssa::Definition targetDef, Call c
|
|
where
|
|
inout = "in" and def.isCapturedVariableDefinitionFlowIn(targetDef, c)
|
|
or
|
|
inout = "out" and
|
|
def.isCapturedVariableDefinitionFlowOut(targetDef) and
|
|
targetDef.(Ssa::ImplicitCallDefinition).getCall() = c
|
|
select inout, def.getSourceVariable(), def, targetDef, c
|