Owen Mansel-Chan
59908124c1
Add test showing limits of DeferStmt in CFG
...
There are paths to the exit of the function which go through the defer
statement and paths which don't, so we add an optional call to the
deferred function. This causes FPs in the query as it stands.
2026-06-04 12:21:38 +01:00
Tom Hvitved
3da195f50f
Merge pull request #21918 from hvitved/rust/expose-resolution
...
Rust: Add `Impl::getSelf()` and `Impl::getTrait()`
2026-06-03 20:18:05 +02:00
Tom Hvitved
0430c71318
Merge pull request #21922 from hvitved/rust/static-const-resolution
...
Rust: Path resolution for `static` items
2026-06-03 17:48:21 +02:00
Owen Mansel-Chan
52f2a5825a
Merge pull request #21804 from github/copilot/add-tests-for-models
...
Java: Update CWE-918 model coverage for Apache HttpClient `execute` sinks
2026-06-03 12:55:56 +01:00
Owen Mansel-Chan
d55ff83568
Merge pull request #21269 from owen-mc/go/improve-tests-for-varargs-flow
...
Go: improve tests for varargs flow
2026-06-03 12:39:46 +01:00
Asger F
7edf0100cc
Merge pull request #21924 from asgerf/asgerf/yeast-changes
...
Yeast: some fixes
2026-06-03 10:32:38 +02:00
Owen Mansel-Chan
167c837088
Merge pull request #21914 from owen-mc/shared/cfg/if-init
...
Shared CFG: allow init stmts for IfStmt
2026-06-02 22:01:02 +01:00
Tom Hvitved
af45e53e77
Rust: Rename parameter in DB upgrade script
2026-06-02 21:18:53 +02:00
Jeroen Ketema
d11fc3a00e
Merge pull request #21932 from jketema/jketema/vue
...
JS: Add Vue to `file_coverage_languages` and `github_api_languages`
2026-06-02 17:53:25 +02:00
Jeroen Ketema
9d5dfea5c5
JS: Add Vue to file_coverage_languages and github_api_languages
2026-06-02 16:57:51 +02:00
Tom Hvitved
dc0c7d7ec2
Fix commment typos
2026-06-02 14:41:27 +02:00
Owen Mansel-Chan
aaa3b363e1
Merge pull request #21929 from owen-mc/go/no-ret-functions
...
Go: Recognize more non-returning logging functions
2026-06-02 10:39:28 +01:00
Owen Mansel-Chan
9dbe9adb00
Update tests
2026-06-02 09:34:03 +01:00
Owen Mansel-Chan
be9c785cb2
Fix incorrect QLDoc
...
Co-authored-by: Tom Hvitved <hvitved@github.com >
2026-06-02 09:26:13 +01:00
Tom Hvitved
1fd31d0ddd
Rust: Data flow for consts and statics
2026-06-02 09:55:51 +02:00
Tom Hvitved
c4e3720d8a
Rust: Run codegen
2026-06-02 09:02:57 +02:00
Tom Hvitved
0547e9c98d
Rust: Path resolution for static items
2026-06-02 09:02:56 +02:00
Owen Mansel-Chan
703cea2b65
Model panicking log functions better
2026-06-02 01:32:00 +01:00
Owen Mansel-Chan
e6e8e3d005
Taint doesn't flow through panicking functions
2026-06-02 01:31:44 +01:00
Owen Mansel-Chan
adc9b7714b
Accept changed test output
2026-06-02 00:57:06 +01:00
Owen Mansel-Chan
e706c5f444
Improve test for non-returning fns
2026-06-02 00:56:12 +01:00
Owen Mansel-Chan
8a1e6d4f64
Add missing QLDocs
2026-06-02 00:41:48 +01:00
Owen Mansel-Chan
1a747dd8be
(Trivial) Fix QLDoc grammar
2026-06-02 00:39:25 +01:00
Owen Mansel-Chan
28bb1a6870
Add change note
2026-06-02 00:16:23 +01:00
Owen Mansel-Chan
45b1253b23
Improve glog and klog tests
2026-06-02 00:16:21 +01:00
Owen Mansel-Chan
c99dab1d71
Improve glog (and klog) modelling
2026-06-02 00:16:19 +01:00
Owen Mansel-Chan
f3e3647209
Improve noretFunctions test
2026-06-02 00:16:17 +01:00
Owen Mansel-Chan
8d099cbe38
Recognize more non-returning logging functions
2026-06-02 00:15:58 +01:00
Tom Hvitved
9618e9b35c
Merge pull request #21873 from hvitved/local-name-resolution
...
Shared: Local name resolution library
2026-06-01 20:51:07 +02:00
Asger F
3f3bed62d3
yeast: type-check for missing required fields
...
Add FieldCardinality to Schema to track required/multiple per field,
populated from the ast_types.yml suffixes (bare = required single,
? = optional single, + = required multiple, * = optional multiple).
dump_ast_with_type_errors now emits:
<-- ERROR: missing required field 'name'
for any node in the output AST whose declared schema requires a field
that is absent from the actual node.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-06-01 14:18:37 +02:00
Asger F
21f216af8c
yeast-macros: omit empty fields produced by .. splice
...
When a {..expr} splice in an output template is empty (e.g. from an
optional capture that did not match), drop the field entirely rather
than emitting an empty named field. This lets a single rule with
optional captures replace what used to be two near-identical rules.
Also re-renders the corpus to drop the now-suppressed empty fields.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-06-01 14:18:37 +02:00
Asger F
1751d70c62
Fix parsing of corpus tests when --- delimiter is missing
2026-06-01 14:18:37 +02:00
Asger F
ac8eb50c26
Yeast: Allow 'r#type' to escape the 'type' keyword in macro
2026-06-01 14:18:37 +02:00
Asger F
1ecdc3614f
Yeast: Fix matching against extras like comments
2026-06-01 14:18:37 +02:00
Asger F
e3b3888bee
Yeast: Fix handling of captures with multiple results
2026-06-01 14:18:36 +02:00
Asger F
ef9306d82c
Yeast: Allow rules that return an empty sequence
2026-06-01 14:18:36 +02:00
Asger F
56822f8ee1
Tree-sitter-extactor: More helpful panic message
2026-06-01 14:04:49 +02:00
Tom Hvitved
62207f152c
Potential fix for pull request finding
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-01 13:55:22 +02:00
Tom Hvitved
d5f94475b5
Rust: DB upgrade/downgrade scripts
2026-06-01 10:38:10 +02:00
Tom Hvitved
00e95a0757
Rust: Add Impl::getSelf() and Impl::getTrait()
2026-06-01 10:38:09 +02:00
Tom Hvitved
c695c151ea
Rust: Rename Impl::getTrait to Impl::getTraitTy
2026-06-01 10:38:07 +02:00
Jeroen Ketema
ab4a575243
Merge pull request #21899 from MathiasVP/use-new-prototype-extensionals
...
C++: Use the new `prototype`-related extensionals in MaD
2026-06-01 10:24:19 +02:00
Tom Hvitved
d2f474d998
Address review comments
2026-06-01 08:30:01 +02:00
Mathias Vorreiter Pedersen
22b08f1ea4
C++: Add a test with a kind of "partial function template" instantiation.
2026-05-31 12:47:31 +02:00
Owen Mansel-Chan
5e5a0437e1
Shared CFG: allow init stmts for IfStmt
2026-05-30 07:35:29 +01:00
Mathias Vorreiter Pedersen
e18448dd59
C++: Add more tests.
2026-05-29 18:22:13 +02:00
Henry Mercer
a16f1c555c
Merge pull request #21912 from github/post-release-prep/codeql-cli-2.25.6
...
Post-release preparation for codeql-cli-2.25.6
2026-05-29 14:43:56 +01:00
Geoffrey White
43c1152634
Merge pull request #21905 from geoffw0/swiftflow2
...
Swift: Update the new metatype sinks
2026-05-29 14:18:45 +01:00
Tom Hvitved
caae5a8bf1
Apply suggestions from code review
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-29 14:24:45 +02:00
github-actions[bot]
cfb18c2477
Post-release preparation for codeql-cli-2.25.6
2026-05-29 12:04:35 +00:00