mirror of
https://github.com/github/codeql.git
synced 2026-03-01 13:23:49 +01:00
7 lines
367 B
Plaintext
7 lines
367 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
|