Skip to content

Commit f575f03

Browse files
committed
[DIFF-INFORMED] Rust: RegexInjection
1 parent 0db14eb commit f575f03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rust/ql/src/queries/security/CWE-020/RegexInjection.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ module RegexInjectionConfig implements DataFlow::ConfigSig {
3434
predicate isAdditionalFlowStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
3535
any(AdditionalFlowStep s).step(nodeFrom, nodeTo)
3636
}
37+
38+
predicate observeDiffInformedIncrementalMode() { any() }
3739
}
3840

3941
/**

0 commit comments

Comments
 (0)