Predicate Cached::captureFlowIn
Holds if there is flow for a captured variable from the enclosing scope into a block.
foo = 0
bar {
puts foo
}
Import path
import codeql.ruby.dataflow.internal.SsaImplpredicate captureFlowIn(CallCfgNode call, Definition def, Definition entry)