Files
codeql-dataflow-sql-injecti…/SourceGetUserInfo.ql

12 lines
276 B
Plaintext

/**
* Identify the source: the return value of function `getUserInfo`.
* Uses AST matching to find return expressions within that function.
*/
import go
import DataFlow as DF
from DF::CallNode cn
where cn.getACalleeIncludingExternals().getName() = "ReadString"
select cn