mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
16 lines
403 B
Plaintext
16 lines
403 B
Plaintext
/**
|
|
* @kind path-problem
|
|
*/
|
|
|
|
import codeql.ruby.AST
|
|
import codeql.ruby.CFG
|
|
import utils.test.InlineFlowTest
|
|
import DefaultFlowTest
|
|
import ValueFlow::PathGraph
|
|
|
|
query predicate arrayLiteral(CfgNodes::ExprNodes::ArrayLiteralCfgNode n) { any() }
|
|
|
|
from ValueFlow::PathNode source, ValueFlow::PathNode sink
|
|
where ValueFlow::flowPath(source, sink)
|
|
select sink, source, sink, "$@", source, source.toString()
|