mirror of
https://github.com/github/codeql.git
synced 2026-07-31 07:22:56 +02:00
This is a verbatim copy of the Ruby ParseRegExp.qll and RegExpTreeView.qll, with only the file-header comments updated to reflect the new path. The test files (parse.ql, regexp.ql, regexp.rb, *.expected) are also copied verbatim from the Ruby test suite as a baseline reference. This commit does NOT compile against C++: it still imports codeql.ruby.AST and references Ruby AST types (RegExpLiteral, StringlikeLiteral, etc.). The adaptation to compile against C++ is in the next commit. Also adds the codeql/regex dependency to cpp/ql/lib/qlpack.yml and the unreleased change-note at cpp/ql/lib/change-notes/2026-07-21-cpp-regex-tree-view.md.
26 lines
633 B
YAML
26 lines
633 B
YAML
name: codeql/cpp-all
|
|
version: 12.0.0
|
|
groups: cpp
|
|
dbscheme: semmlecode.cpp.dbscheme
|
|
extractor: cpp
|
|
library: true
|
|
upgrades: upgrades
|
|
dependencies:
|
|
codeql/dataflow: ${workspace}
|
|
codeql/mad: ${workspace}
|
|
codeql/quantum: ${workspace}
|
|
codeql/rangeanalysis: ${workspace}
|
|
codeql/regex: ${workspace}
|
|
codeql/ssa: ${workspace}
|
|
codeql/typeflow: ${workspace}
|
|
codeql/tutorial: ${workspace}
|
|
codeql/util: ${workspace}
|
|
codeql/xml: ${workspace}
|
|
dataExtensions:
|
|
- ext/*.model.yml
|
|
- ext/generated/**/*.model.yml
|
|
- ext/deallocation/*.model.yml
|
|
- ext/allocation/*.model.yml
|
|
warnOnImplicitThis: true
|
|
compileForOverlayEval: true
|