Skip to content

Sync Main (autogenerated) #230

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 422 commits into from
May 15, 2025
Merged

Sync Main (autogenerated) #230

merged 422 commits into from
May 15, 2025

Conversation

dilanbhalla
Copy link
Collaborator

This PR syncs the latest changes from codeql-cli/latest into main.

asgerf and others added 30 commits April 29, 2025 15:08
…ntag

C#/Java/Rust: Change the tag for the model generator debugging queries.
path.resolve() and template expressions are now working.

Previously they could not be resolved because Import.getImportedPath() returned a PathExpr,
and these were not instances of PathExpr.
… name clash

'getTargetFile' was originally named to avoid the clash with 'getImportedFile' from a subclass. But we now just merge the two predicates.
We don't extract node_modules folders by default so these tests aren't
that relevant anymore, and we no longer follow node_modules resolution
rules directly.

Instead, these imports are resolved based on the monorepo support which
simply requires a package.json file to exist. There is not a good enough
reason to support node_modules directly, so we're accepting some
minor regression in these tests.
JS: Added support for `fastify.addHook`
Rust: Extract `SelfParam`s from crate graph
…ate-rules-kotlin

Revert "Bazel: update `rules_kotlin` to 2.1.3"
These queries were failing in `codeql test run --check-diff-informed`
because they can select locations inside the regex. Until that can be
fixed, diff-informed mode is disabled for these queries.
…not-closed

Python: Improve performance of FileNotClosed query by using an explicit fastTC
smowton and others added 24 commits May 13, 2025 14:42
These are mainly small changes in how source-locations are ascribed to synthetic expressions, plus three real changes:

- The comment extractor is performing better presumably due to improvements in the underlying representation
- *= /= and %= operations are once again extracted correctly; presumably their origin information has been fixed
- Reference to a static final Java field can lead to more constant propagation than before

The last one might be a minor nuisance to someone trying to find references to such a field.
Update changelogs for CodeQL CLI 2.21.2
…lysis-on-incomplete-ssa

C++: Fix infinite range analysis loop on invalid SSA
….0-support

Add support for Kotlin 2.2.0; drop Kotlin 1.5.x
Release preparation for version 2.21.3
Compatible with the latest released version of the CodeQL CLI
@dilanbhalla dilanbhalla merged commit d1c2fa0 into main May 15, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.