We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a957ce4 commit 4a46946Copy full SHA for 4a46946
swift/ql/src/queries/Security/CWE-1333/ReDoS.ql
@@ -7,14 +7,15 @@
7
* @problem.severity error
8
* @security-severity 7.5
9
* @precision high
10
- * @id rb/redos
+ * @id swift/redos
11
* @tags security
12
* external/cwe/cwe-1333
13
* external/cwe/cwe-730
14
* external/cwe/cwe-400
15
*/
16
17
-private import codeql.ruby.regexp.RegExpTreeView::RegexTreeView as TreeView
+import codeql.swift.regex.Regex
18
+private import codeql.swift.regex.RegexTreeView::RegexTreeView as TreeView
19
import codeql.regex.nfa.ExponentialBackTracking::Make<TreeView>
20
21
from TreeView::RegExpTerm t, string pump, State s, string prefixMsg
0 commit comments