mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
11 lines
313 B
Plaintext
11 lines
313 B
Plaintext
import ruby
|
|
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
|
|
}
|