Skip to content

Bulk MAD generator: Support databases from DCA runs #19627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
May 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
cb0b566
C++: Put autogenerated models in the same folder structure as Rust.
MathiasVP May 29, 2025
40d937a
Bulk generator: Some imports we will need.
MathiasVP May 29, 2025
b87ba31
Bulk generator: Get rid of the hardcoded project list and move it int…
MathiasVP May 29, 2025
6ff2beb
Bulk generator: Add command-line arguments.
MathiasVP May 29, 2025
e721fc0
Bulk generator: Prepare for adding DCA support. This commits just gen…
MathiasVP May 29, 2025
5051790
Bulk generator: Add DCA support.
MathiasVP May 29, 2025
cb93870
Bulk generator: Rename file since it is no longer Rust specific.
MathiasVP May 29, 2025
7ecf8c8
Bulk generator: Format file and add a note at the top of the file spe…
MathiasVP May 30, 2025
566bf43
Bulk generator: Rename 'github' to 'get_json_from_github'.
MathiasVP May 30, 2025
b640474
Bulk generator: Remove 'Phase' part of log message.
MathiasVP May 30, 2025
5d79a8d
Update misc/scripts/models-as-data/bulk_generate_mad.py
MathiasVP May 30, 2025
7c89d6d
Bulk generator: Rename 'get_destination_for_project' to 'get_mad_dest…
MathiasVP May 30, 2025
7121f5c
Bulk generator: Use the 'Project' type throughout the file.
MathiasVP May 30, 2025
fc165db
Bulk generator: Specify 'with-summaries', 'with-sources', and 'with-s…
MathiasVP May 30, 2025
1228080
Bulk generator: Specify 'language' in the config file.
MathiasVP May 30, 2025
7c2612a
Bulk generator: Specify a path to the PAT instead of the PAT itself.
MathiasVP May 30, 2025
3ddca32
Update misc/scripts/models-as-data/bulk_generate_mad.py
MathiasVP May 30, 2025
cdd869a
Bulk generator: Autoformat.
MathiasVP May 30, 2025
bdf411a
Bulk generator: Make 'database_results' a map to simplify away the ex…
MathiasVP May 30, 2025
3444c98
Bulk generator: Fix field name.
MathiasVP May 30, 2025
0f30644
Bulk generator: Snake case things.
MathiasVP May 30, 2025
7cb9024
Bulk generator: Flip default values for summaries, sources, and sinks.
MathiasVP May 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cpp/misc/bulk_generation_targets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"strategy": "dca",
"language": "cpp",
"targets": [
{ "name": "openssl", "with-sources": false, "with-sinks": false },
{ "name": "sqlite", "with-sources": false, "with-sinks": false }
],
"destination": "cpp/ql/lib/ext/generated"
}
2 changes: 1 addition & 1 deletion cpp/ql/lib/qlpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
codeql/xml: ${workspace}
dataExtensions:
- ext/*.model.yml
- ext/generated/*.model.yml
- ext/generated/**/*.model.yml
- ext/deallocation/*.model.yml
- ext/allocation/*.model.yml
warnOnImplicitThis: true
Loading
Loading