Jeroen Ketema
e0ce5bcf40
Merge pull request #21699 from jketema/join-fix
...
C++: Fix `isCompiledAsC` join order
2026-04-13 16:03:38 +02:00
Jeroen Ketema
bee39c9d51
C++: Fix isCompiledAsC join order
...
Before on Abseil Windows for `cpp/too-few-arguments:`:
```
Pipeline standard for TooFewArguments::isCompiledAsC/1#52fe29e8@994f9bgp was evaluated in 12 iterations totaling 2ms (delta sizes total: 50).
1198778 ~3% {1} r1 = JOIN `TooFewArguments::isCompiledAsC/1#52fe29e8#prev_delta` WITH `Element::Element.getFile/0#2b8c8740_10#join_rhs` ON FIRST 1 OUTPUT Rhs.1
83 ~26% {1} | JOIN WITH includes ON FIRST 1 OUTPUT Rhs.1
50 ~4% {1} | AND NOT `TooFewArguments::isCompiledAsC/1#52fe29e8#prev`(FIRST 1)
return r1
```
After:
```
Pipeline standard for #File::File.getAnIncludedFile/0#dispred#e8d44cd1Plus#bf@b8d290i6 was evaluated in 11 iterations totaling 0ms (delta sizes total: 43).
47 ~0% {2} r1 = SCAN `#File::File.getAnIncludedFile/0#dispred#e8d44cd1Plus#bf#prev_delta` OUTPUT In.1, In.0
78 ~28% {2} | JOIN WITH `File::File.getAnIncludedFile/0#dispred#e8d44cd1` ON FIRST 1 OUTPUT Lhs.1, Rhs.1
43 ~0% {2} | AND NOT `#File::File.getAnIncludedFile/0#dispred#e8d44cd1Plus#bf#prev`(FIRST 2)
return r1
[2026-04-13 11:05:25] Evaluated non-recursive predicate TooFewArguments::isCompiledAsC/1#52fe29e8@4a3eb9jk in 0ms (size: 49).
Evaluated relational algebra for predicate TooFewArguments::isCompiledAsC/1#52fe29e8@4a3eb9jk with tuple counts:
1 ~0% {3} r1 = CONSTANT(unique int, unique string, unique string)[1,"compiled as c","1"]
1 ~0% {1} | JOIN WITH #fileannotationsMerge_1230#join_rhs ON FIRST 3 OUTPUT Rhs.3
48 ~0% {1} r2 = JOIN r1 WITH `#File::File.getAnIncludedFile/0#dispred#e8d44cd1Plus#bf` ON FIRST 1 OUTPUT Rhs.1
49 ~0% {1} r3 = r1 UNION r2
return r3
```
2026-04-13 11:13:52 +02:00
Geoffrey White
ae85ada669
Merge pull request #21634 from geoffw0/compwidertype2
...
C++: Upgrade cpp/comparison-with-wider-type to high precision
2026-04-10 16:08:11 +01:00
Geoffrey White
b9226a359a
Merge pull request #21633 from geoffw0/intmultlong2
...
C++: Upgrade cpp/integer-multiplication-cast-to-long to high precision
2026-04-10 14:02:34 +01:00
Geoffrey White
814c0ae7a8
Merge pull request #21632 from geoffw0/wrongtype2
...
C++: Upgrade cpp/wrong-type-format-argument to high precision
2026-04-10 14:01:07 +01:00
Geoffrey White
9ea33bc5bb
Merge pull request #21553 from geoffw0/implicitfn
...
C++: Disable cpp/implicit-function-declaration on build mode none databases
2026-04-10 14:00:06 +01:00
Geoffrey White
56af9a84ab
Update cpp/ql/src/Likely Bugs/Underspecified Functions/ImplicitFunctionDeclaration.qhelp
2026-04-02 11:40:51 +01:00
Geoffrey White
9eabfc5fdc
Update cpp/ql/src/Likely Bugs/Underspecified Functions/ImplicitFunctionDeclaration.ql
...
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com >
2026-04-02 11:39:45 +01:00
Geoffrey White
e83658ed06
C++: Upgrade query precision.
2026-04-02 11:38:09 +01:00
Geoffrey White
2d02056e5c
C++: Second change note.
2026-04-02 11:34:54 +01:00
Geoffrey White
9dbbdef4cb
C++: Change note.
2026-04-02 11:30:52 +01:00
Geoffrey White
520e95d92c
C++: Upgrade query precision.
2026-04-02 11:30:34 +01:00
Geoffrey White
909b55a40a
C++: Change note.
2026-04-02 11:28:34 +01:00
Geoffrey White
b41a4ff5e4
C++: Upgrade query precision.
2026-04-02 11:28:19 +01:00
Geoffrey White
fca567f6ea
C++: Change note.
2026-04-02 11:26:50 +01:00
Geoffrey White
84c01bc255
C++: Upgrade query precision.
2026-04-02 11:26:49 +01:00
Jeroen Ketema
095a9cbc73
Merge pull request #21588 from jketema/jketema/compiler-error-bmn
...
C++: Silence `ExtractionRecoverableWarning`s when BMN is active
2026-03-30 14:17:26 +02:00
Jeroen Ketema
6692f23cbd
C++: Add change note
2026-03-30 11:50:31 +02:00
Óscar San José
59eec7ffa2
Merge branch 'main' of https://github.com/github/codeql into post-release-prep/codeql-cli-2.25.1
2026-03-30 10:51:12 +02:00
github-actions[bot]
ce6e6d5db3
Post-release preparation for codeql-cli-2.25.1
2026-03-30 08:43:48 +00:00
Geoffrey White
a9cce1c0fa
C++: Undo increasing query precision.
2026-03-27 17:32:03 +00:00
Geoffrey White
4f3108c444
C++: Update change note.
2026-03-27 17:04:05 +00:00
Geoffrey White
50681a3c42
C++: Add note to the .qhelp.
2026-03-27 16:47:31 +00:00
Geoffrey White
bb9873dc8f
C++: Increase the query precision to high.
2026-03-27 16:40:45 +00:00
Jeroen Ketema
0f8e39a236
C++: Silence ExtractionRecoverableWarnings when BMN is active
2026-03-27 13:42:44 +01:00
github-actions[bot]
fb011842c9
Release preparation for version 2.25.1
2026-03-25 23:43:06 +00:00
github-actions[bot]
8cf0954796
Release preparation for version 2.25.1
2026-03-25 08:28:30 +00:00
Simon Friis Vindum
8cb5380d84
C++: Remove unused find predicate
2026-03-24 15:54:46 +01:00
Geoffrey White
39056e4477
C++: Change note.
2026-03-23 12:28:17 +00:00
Geoffrey White
5a77128a8b
C++: Disable cpp/implicit-function-declaration on BMN databases.
2026-03-23 11:27:15 +00:00
Simon Friis Vindum
c67122b3f1
C++: Add expressions with type data to cpp/extraction-information
2026-03-23 12:14:11 +01:00
Simon Friis Vindum
f6c81ff30a
Merge pull request #21512 from paldepind/cpp/extraction-information
...
C++: Add `cpp/extraction-information` query
2026-03-20 14:12:59 +01:00
Óscar San José
ec726f5941
Merge pull request #21486 from github/post-release-prep/codeql-cli-2.25.0
...
Post-release preparation for codeql-cli-2.25.0
2026-03-20 11:23:20 +01:00
Geoffrey White
208ae7aa01
Merge pull request #21514 from geoffw0/suspicioussizeof
...
C++: Fix an issue with cpp/suspicious-add-sizeof in BMN databases
2026-03-20 09:41:39 +00:00
Simon Friis Vindum
bc518c08c7
C++: Fix grammar in comment
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-20 09:19:59 +01:00
Kaixuan Li
6452cc549f
Merge branch 'github:main' into fix/format-string-fp-in-printf-impl
2026-03-20 10:15:56 +08:00
Geoffrey White
9c6276ef48
C++: Change note.
2026-03-19 16:24:35 +00:00
Óscar San José
d30aab47ea
Merge branch 'main' into post-release-prep/codeql-cli-2.25.0
2026-03-19 16:57:20 +01:00
Geoffrey White
07db9cf3c4
Merge pull request #21421 from geoffw0/wrongtypeformat
...
C++: Add some test cases for cpp/wrong-type-format-argument
2026-03-19 14:25:33 +00:00
Geoffrey White
21cb11ea5d
C++: Change note.
2026-03-19 13:29:41 +00:00
Simon Friis Vindum
4c525ce7ab
C++: Add cpp/extraction-information query
2026-03-19 14:29:31 +01:00
Geoffrey White
0f794b57ed
C++: Fix the issue.
2026-03-19 13:16:16 +00:00
Óscar San José
2139b97628
Merge branch 'main' into post-release-prep/codeql-cli-2.25.0
2026-03-19 13:07:00 +01:00
Kaixuan Li
1ddf81c58c
Merge branch 'main' into fix/format-string-fp-in-printf-impl
2026-03-19 14:36:50 +08:00
Kaixuan Li
c155394f25
the [] syntax directly
...
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com >
2026-03-19 14:36:28 +08:00
Kaixuan Li
2c76e6e637
use American spellings in documentation
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-19 14:35:45 +08:00
Owen Mansel-Chan
5b17d8cf76
Merge pull request #21472 from owen-mc/adjust-severity/xss-log-injection
...
Adjust `@security-severity` metadata for XSS and log injection queries
2026-03-18 16:51:14 +00:00
MarkLee131
ff48ac5434
C++: exclude printf implementation internals from format string sinks
2026-03-17 22:45:38 +08:00
Geoffrey White
9cb1c89a02
C++: Change note.
2026-03-16 19:11:27 +00:00
Geoffrey White
a57f803b37
C++: Address false positive results.
2026-03-16 19:03:10 +00:00