Files
codeql/csharp/ql/test/library-tests/dataflow/local/DataFlow.ql
2018-08-02 17:53:23 +01:00

11 lines
297 B
Plaintext

import csharp
import Common
from MyFlowSource source, Access target, string s
where
DataFlow::localFlowStep+(source, DataFlow::exprNode(target)) and
exists(MethodCall mc | mc.getTarget().getName() = "Check" and mc.getAnArgument() = target) and
s = target.toString()
select s
order by s asc