mirror of
https://github.com/github/codeql.git
synced 2026-01-06 03:00:24 +01:00
11 lines
331 B
Plaintext
11 lines
331 B
Plaintext
import codeql.ruby.AST
|
|
import codeql.ruby.dataflow.internal.DataFlowPrivate
|
|
import codeql.ruby.dataflow.internal.DataFlowDispatch
|
|
|
|
query predicate ret(SourceReturnNode node) { any() }
|
|
|
|
query predicate arg(ArgumentNode n, DataFlowCall call, ArgumentPosition pos) {
|
|
n.argumentOf(call, pos) and
|
|
not n instanceof FlowSummaryNode
|
|
}
|