Merge pull request #20080 from d10c/d10c/diff-informed-phase-3-ruby

Ruby: Diff-informed queries: phase 3 (non-trivial locations)
This commit is contained in:
Chuan-kai Lin
2025-08-07 07:37:40 -07:00
committed by GitHub

View File

@@ -17,6 +17,10 @@ private module MissingFullAnchorConfig implements DataFlow::ConfigSig {
predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
predicate isBarrier(DataFlow::Node node) { node instanceof Sanitizer }
predicate observeDiffInformedIncrementalMode() {
none() // can't be made diff-informed because the locations of Ruby RegExpTerms aren't correct when the regexp is parsed from a string arising from constant folding
}
}
/**