File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
swift/ql/lib/codeql/swift/regex Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ private class ParsedStringRegex extends RegExp, StringLiteralExpr {
1919 RegexEval eval ;
2020
2121 ParsedStringRegex ( ) {
22- RegexUseFlow :: flow ( DataFlow:: exprNode ( this ) , DataFlow:: exprNode ( eval .getRegexInput ( ) ) )
22+ StringLiteralUseFlow :: flow ( DataFlow:: exprNode ( this ) , DataFlow:: exprNode ( eval .getRegexInput ( ) ) )
2323 }
2424
2525 /**
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ private import codeql.swift.regex.Regex
1414 * A data flow configuration for tracking string literals that are used as
1515 * regular expressions.
1616 */
17- private module RegexUseConfig implements DataFlow:: ConfigSig {
17+ private module StringLiteralUseConfig implements DataFlow:: ConfigSig {
1818 predicate isSource ( DataFlow:: Node node ) { node .asExpr ( ) instanceof StringLiteralExpr }
1919
2020 predicate isSink ( DataFlow:: Node node ) { node .asExpr ( ) = any ( RegexEval eval ) .getRegexInput ( ) }
@@ -34,4 +34,4 @@ private module RegexUseConfig implements DataFlow::ConfigSig {
3434 }
3535}
3636
37- module RegexUseFlow = DataFlow:: Global< RegexUseConfig > ;
37+ module StringLiteralUseFlow = DataFlow:: Global< StringLiteralUseConfig > ;
You can’t perform that action at this time.
0 commit comments