Skip to content

Commit a27142d

Browse files
authored
Add C++ regex parser and RegexTreeView (Phase 1)
1 parent 232258d commit a27142d

13 files changed

Lines changed: 1949 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: newQuery
3+
---
4+
* Added an internal C++ regular-expression parse library (`semmle.code.cpp.regex.RegexTreeView`) that implements the shared `RegexTreeViewSig` signature. This is the foundation for future ReDoS analyses for C++ (`cpp/polynomial-redos` and `cpp/redos`). No new queries are added in this release.

cpp/ql/lib/qlpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ dependencies:
1010
codeql/mad: ${workspace}
1111
codeql/quantum: ${workspace}
1212
codeql/rangeanalysis: ${workspace}
13+
codeql/regex: ${workspace}
1314
codeql/ssa: ${workspace}
1415
codeql/typeflow: ${workspace}
1516
codeql/tutorial: ${workspace}

0 commit comments

Comments
 (0)