Skip to content

Commit 09938f0

Browse files
authored
Revert "Resolve dead-code alerts: export RegexPatternFlowConfig module"
This reverts commit cc95e25.
1 parent cc95e25 commit 09938f0

3 files changed

Lines changed: 1 addition & 15 deletions

File tree

cpp/ql/lib/semmle/code/cpp/regex/RegexFlowConfigs.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class ExploitableStringLiteral extends StringLiteral {
192192
* A dataflow configuration tracking string literals that reach a regex
193193
* pattern construction/assignment site.
194194
*/
195-
module RegexPatternFlowConfig implements DataFlow::ConfigSig {
195+
private module RegexPatternFlowConfig implements DataFlow::ConfigSig {
196196
predicate isSource(DataFlow::Node node) { node.asExpr() instanceof ExploitableStringLiteral }
197197

198198
predicate isSink(DataFlow::Node node) { node instanceof RegexPatternSink }

ql/Cargo.lock

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ql/ql/src/codeql-pack.lock.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)