@@ -25,6 +25,12 @@ private module StringLiteralUseConfig implements DataFlow::ConfigSig {
2525 // used to create a regular expression object
2626 node = any ( RegexCreation regexCreation ) .getStringInput ( )
2727 }
28+
29+ predicate observeDiffInformedIncrementalMode ( ) {
30+ // TODO(diff-informed): Manually verify if config can be diff-informed.
31+ // swift/ql/lib/codeql/swift/regex/Regex.qll:53: Flow call outside 'select' clause
32+ none ( )
33+ }
2834}
2935
3036module StringLiteralUseFlow = DataFlow:: Global< StringLiteralUseConfig > ;
@@ -47,6 +53,12 @@ private module RegexUseConfig implements DataFlow::ConfigSig {
4753 predicate isAdditionalFlowStep ( DataFlow:: Node nodeFrom , DataFlow:: Node nodeTo ) {
4854 any ( RegexAdditionalFlowStep s ) .step ( nodeFrom , nodeTo )
4955 }
56+
57+ predicate observeDiffInformedIncrementalMode ( ) {
58+ // TODO(diff-informed): Manually verify if config can be diff-informed.
59+ // swift/ql/lib/codeql/swift/regex/Regex.qll:350: Flow call outside 'select' clause
60+ none ( )
61+ }
5062}
5163
5264module RegexUseFlow = DataFlow:: Global< RegexUseConfig > ;
@@ -102,6 +114,13 @@ private module RegexParseModeConfig implements DataFlow::StateConfigSig {
102114 ) {
103115 none ( )
104116 }
117+
118+ predicate observeDiffInformedIncrementalMode ( ) {
119+ // TODO(diff-informed): Manually verify if config can be diff-informed.
120+ // swift/ql/lib/codeql/swift/regex/Regex.qll:364: Flow call outside 'select' clause
121+ // swift/ql/lib/codeql/swift/regex/Regex.qll:365: Flow call outside 'select' clause
122+ none ( )
123+ }
105124}
106125
107126module RegexParseModeFlow = DataFlow:: GlobalWithState< RegexParseModeConfig > ;
0 commit comments