Skip to content

Commit 11bccdd

Browse files
authored
Merge pull request #19798 from d10c/d10c/ruby/diff-informed-2
Ruby: mass enable diff-informed data flow `none()` location overrides
2 parents f80651e + 6f7e0d6 commit 11bccdd

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

ruby/ql/src/experimental/manually-check-http-verb/ManuallyCheckHttpVerb.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ private module HttpVerbConfig implements DataFlow::ConfigSig {
8888
}
8989

9090
predicate observeDiffInformedIncrementalMode() { any() }
91+
92+
Location getASelectedSourceLocation(DataFlow::Node source) { none() }
9193
}
9294

9395
private module HttpVerbFlow = TaintTracking::Global<HttpVerbConfig>;

ruby/ql/src/experimental/weak-params/WeakParams.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ private module WeakParamsConfig implements DataFlow::ConfigSig {
4848
predicate isSink(DataFlow::Node node) { node = any(PersistentWriteAccess a).getValue() }
4949

5050
predicate observeDiffInformedIncrementalMode() { any() }
51+
52+
Location getASelectedSourceLocation(DataFlow::Node source) { none() }
5153
}
5254

5355
private module WeakParamsFlow = TaintTracking::Global<WeakParamsConfig>;

ruby/ql/src/queries/meta/TaintedNodes.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ private module BasicTaintConfig implements DataFlow::ConfigSig {
2121
}
2222

2323
predicate observeDiffInformedIncrementalMode() { any() }
24+
25+
Location getASelectedSourceLocation(DataFlow::Node source) { none() }
2426
}
2527

2628
private module BasicTaintFlow = TaintTracking::Global<BasicTaintConfig>;

0 commit comments

Comments
 (0)