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