We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hasLocalSource
1 parent c04e344 commit 45412faCopy full SHA for 45412fa
ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll
@@ -121,7 +121,8 @@ class LocalSourceNode extends Node {
121
LocalSourceNode backtrack(TypeBackTracker t2, TypeBackTracker t) { t2 = t.step(result, this) }
122
}
123
124
-predicate hasLocalSource(Node sink, Node source) {
+cached
125
+private predicate hasLocalSource(Node sink, Node source) {
126
// Declaring `source` to be a `SourceNode` currently causes a redundant check in the
127
// recursive case, so instead we check it explicitly here.
128
source = sink and
0 commit comments