Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
421866e
Floating point decimal support has been removed from CodeQL
jketema Jan 6, 2026
054ebcf
Merge pull request #1014 from jketema/jketema/rm-decimal
jketema Jan 14, 2026
141d5be
C++: Accept test changes after github/codeql#21313.
MathiasVP Feb 11, 2026
d6955b0
C++: Fix Copilot comments.
MathiasVP Feb 11, 2026
cda7e81
Merge pull request #1036 from MathiasVP/accept-changes-after-21313
jketema Feb 16, 2026
115639d
Revert "C++: Accept test changes after github/codeql#21313."
paldepind Feb 16, 2026
2da1be3
Update test expectations after switch to SoftFloat library in the ext…
jketema Feb 17, 2026
09d1e3a
Merge pull request #1041 from paldepind/revert-accept-changes-after-2…
jketema Feb 20, 2026
3bc45b8
Merge pull request #1042 from jketema/jketema/softfloat
jketema Feb 23, 2026
b883139
Revert "Merge pull request #1042 from jketema/jketema/softfloat"
jketema Feb 24, 2026
330fc79
Merge pull request #1055 from jketema/jketema/softfloat-revert
jketema Feb 24, 2026
0be4a82
Merge branch 'main' into next
jketema Mar 30, 2026
a7b10a1
Update expected test results
jketema Mar 30, 2026
bfc504c
Reapply "Merge pull request #1042 from jketema/jketema/softfloat"
jketema Apr 24, 2026
863046b
Merge pull request #1118 from jketema/softfloat
jketema Apr 28, 2026
08b109d
Update type alias class names
jketema May 18, 2026
9c6f08c
Merge pull request #1131 from jketema/jketema/alias-template
jketema May 19, 2026
da5f262
Update expected test results
jketema May 19, 2026
4349da6
Update references to deprecated classes
jketema May 19, 2026
99a5245
Update references to deprecated classes
jketema May 26, 2026
e560d06
Merge remote-tracking branch 'upstream/main' into next
jketema Jul 29, 2026
6a381b9
Fix queries after merge from main
jketema Jul 29, 2026
e5a6d50
Fix RULE-0-2-4/A0-1-3 false positives for private functions
castler Aug 3, 2026
a7f144a
Fix RULE-7-0-4 false positives for non-numeric operand types
castler Aug 21, 2026
45faccd
Fix RULE-5-10-1 false positives for locals/parameters in std speciali…
castler Aug 24, 2026
f7b5ada
Upgrade CodeQL caching and dependencies installation
mbaluda Aug 26, 2026
e8f3d85
Refactor CodeQL caching in workflow
mbaluda Aug 26, 2026
39aae50
Rename cache step for clarity
mbaluda Aug 26, 2026
9f6b44e
Static caching path
mbaluda Aug 26, 2026
55349ee
Add common caches support
mbaluda Aug 26, 2026
5ff0ba8
Enhance CodeQL caching key to include language, CLI, and standard lib…
mbaluda Aug 27, 2026
79de7b2
Update codeql_unit_tests.yml
mbaluda Aug 27, 2026
0af9990
Add compilation cache size parameter
mbaluda Aug 27, 2026
464b002
restore and save early queries compilation cache
mbaluda Aug 27, 2026
48f65a4
format
mbaluda Aug 27, 2026
3076ee9
Add caching to the pack-gen workflow
mbaluda Aug 27, 2026
091492a
include caching for bundle creation
mbaluda Aug 27, 2026
a7abff3
Fix RULE-7-0-2 false positives: UnknownType and reference-to-bool der…
castler Aug 25, 2026
5c6c6aa
Refactor EXP37-C rule to simplify function argument checks and improv…
mbaluda Aug 28, 2026
15c66a8
change note
mbaluda Aug 28, 2026
dc8d0aa
Add exclusion check for header files in problems predicate
mbaluda Sep 4, 2026
eefd72a
Add passing and failing tests for IncludeGuardsNotUsed exclusion chec…
Copilot Sep 4, 2026
fe0a7c3
remove one duplicate test
mbaluda Sep 4, 2026
5b0f53f
Add change note
mbaluda Sep 4, 2026
a526810
Upgrading `github/codeql` dependency to 2.25.6
MichaelRFairhurst Sep 19, 2026
cdb5c16
Merge commit '99a5245dbb7753d528008744651c3a213bee3bf0' into codeql/u…
MichaelRFairhurst Sep 19, 2026
0bb8325
Merge commit '6a381b91b5736c232f7a2fb711b8684ca7968416' into codeql/u…
MichaelRFairhurst Sep 19, 2026
cf90034
Accept test output changes
MichaelRFairhurst Sep 20, 2026
209bbce
Fix additional failed test
MichaelRFairhurst Sep 20, 2026
9cf45ff
Merge branch 'main' into codeql/upgrade-to-2.25.6
mbaluda Sep 24, 2026
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
24 changes: 12 additions & 12 deletions c/cert/src/codeql-pack.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ dependencies:
advanced-security/qtil:
version: 0.0.3
codeql/controlflow:
version: 2.0.23
version: 2.0.35
codeql/cpp-all:
version: 6.1.4
version: 10.2.0
codeql/dataflow:
version: 2.0.23
version: 2.1.7
codeql/mad:
version: 1.0.39
version: 1.0.51
codeql/quantum:
version: 0.0.17
version: 0.0.29
codeql/rangeanalysis:
version: 1.0.39
version: 1.0.51
codeql/ssa:
version: 2.0.15
version: 2.0.27
codeql/tutorial:
version: 1.0.39
version: 1.0.51
codeql/typeflow:
version: 1.0.39
version: 1.0.51
codeql/typetracking:
version: 2.0.23
version: 2.0.35
codeql/util:
version: 2.0.26
version: 2.0.38
codeql/xml:
version: 1.0.39
version: 1.0.51
compiled: false
2 changes: 1 addition & 1 deletion c/cert/src/qlpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ license: MIT
default-suite-file: codeql-suites/cert-c-default.qls
dependencies:
codeql/common-c-coding-standards: '*'
codeql/cpp-all: 6.1.4
codeql/cpp-all: 10.2.0
24 changes: 12 additions & 12 deletions c/cert/test/codeql-pack.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ dependencies:
advanced-security/qtil:
version: 0.0.3
codeql/controlflow:
version: 2.0.23
version: 2.0.35
codeql/cpp-all:
version: 6.1.4
version: 10.2.0
codeql/dataflow:
version: 2.0.23
version: 2.1.7
codeql/mad:
version: 1.0.39
version: 1.0.51
codeql/quantum:
version: 0.0.17
version: 0.0.29
codeql/rangeanalysis:
version: 1.0.39
version: 1.0.51
codeql/ssa:
version: 2.0.15
version: 2.0.27
codeql/tutorial:
version: 1.0.39
version: 1.0.51
codeql/typeflow:
version: 1.0.39
version: 1.0.51
codeql/typetracking:
version: 2.0.23
version: 2.0.35
codeql/util:
version: 2.0.26
version: 2.0.38
codeql/xml:
version: 1.0.39
version: 1.0.51
compiled: false
24 changes: 12 additions & 12 deletions c/common/src/codeql-pack.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ dependencies:
advanced-security/qtil:
version: 0.0.3
codeql/controlflow:
version: 2.0.23
version: 2.0.35
codeql/cpp-all:
version: 6.1.4
version: 10.2.0
codeql/dataflow:
version: 2.0.23
version: 2.1.7
codeql/mad:
version: 1.0.39
version: 1.0.51
codeql/quantum:
version: 0.0.17
version: 0.0.29
codeql/rangeanalysis:
version: 1.0.39
version: 1.0.51
codeql/ssa:
version: 2.0.15
version: 2.0.27
codeql/tutorial:
version: 1.0.39
version: 1.0.51
codeql/typeflow:
version: 1.0.39
version: 1.0.51
codeql/typetracking:
version: 2.0.23
version: 2.0.35
codeql/util:
version: 2.0.26
version: 2.0.38
codeql/xml:
version: 1.0.39
version: 1.0.51
compiled: false
7 changes: 1 addition & 6 deletions c/common/src/codingstandards/c/Extensions.qll
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,7 @@ class CTerseTernaryExtension extends CCompilerExtension, ConditionalExpr {
// Reference: https://gcc.gnu.org/onlinedocs/gcc/_005f_005fint128.html#g_t_005f_005fint128
// Reference: https://gcc.gnu.org/onlinedocs/gcc/Decimal-Float.html#Decimal-Float
class CRealTypeExtensionExtension extends CCompilerExtension, DeclarationEntry {
CRealTypeExtensionExtension() {
getType() instanceof Decimal128Type or
getType() instanceof Decimal32Type or
getType() instanceof Decimal64Type or
getType() instanceof Float128Type
}
CRealTypeExtensionExtension() { getType() instanceof Float128Type }

override string getMessage() {
result = "Decimal floats are a compiler extension and are not portable to other compilers."
Expand Down
2 changes: 1 addition & 1 deletion c/common/src/qlpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ version: 2.63.0-dev
license: MIT
dependencies:
codeql/common-cpp-coding-standards: '*'
codeql/cpp-all: 6.1.4
codeql/cpp-all: 10.2.0
24 changes: 12 additions & 12 deletions c/common/test/codeql-pack.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ dependencies:
advanced-security/qtil:
version: 0.0.3
codeql/controlflow:
version: 2.0.23
version: 2.0.35
codeql/cpp-all:
version: 6.1.4
version: 10.2.0
codeql/dataflow:
version: 2.0.23
version: 2.1.7
codeql/mad:
version: 1.0.39
version: 1.0.51
codeql/quantum:
version: 0.0.17
version: 0.0.29
codeql/rangeanalysis:
version: 1.0.39
version: 1.0.51
codeql/ssa:
version: 2.0.15
version: 2.0.27
codeql/tutorial:
version: 1.0.39
version: 1.0.51
codeql/typeflow:
version: 1.0.39
version: 1.0.51
codeql/typetracking:
version: 2.0.23
version: 2.0.35
codeql/util:
version: 2.0.26
version: 2.0.38
codeql/xml:
version: 1.0.39
version: 1.0.51
compiled: false
24 changes: 12 additions & 12 deletions c/misra/src/codeql-pack.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ dependencies:
advanced-security/qtil:
version: 0.0.3
codeql/controlflow:
version: 2.0.23
version: 2.0.35
codeql/cpp-all:
version: 6.1.4
version: 10.2.0
codeql/dataflow:
version: 2.0.23
version: 2.1.7
codeql/mad:
version: 1.0.39
version: 1.0.51
codeql/quantum:
version: 0.0.17
version: 0.0.29
codeql/rangeanalysis:
version: 1.0.39
version: 1.0.51
codeql/ssa:
version: 2.0.15
version: 2.0.27
codeql/tutorial:
version: 1.0.39
version: 1.0.51
codeql/typeflow:
version: 1.0.39
version: 1.0.51
codeql/typetracking:
version: 2.0.23
version: 2.0.35
codeql/util:
version: 2.0.26
version: 2.0.38
codeql/xml:
version: 1.0.39
version: 1.0.51
compiled: false
2 changes: 1 addition & 1 deletion c/misra/src/qlpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ license: MIT
default-suite-file: codeql-suites/misra-c-default.qls
dependencies:
codeql/common-c-coding-standards: '*'
codeql/cpp-all: 6.1.4
codeql/cpp-all: 10.2.0
24 changes: 12 additions & 12 deletions c/misra/test/codeql-pack.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ dependencies:
advanced-security/qtil:
version: 0.0.3
codeql/controlflow:
version: 2.0.23
version: 2.0.35
codeql/cpp-all:
version: 6.1.4
version: 10.2.0
codeql/dataflow:
version: 2.0.23
version: 2.1.7
codeql/mad:
version: 1.0.39
version: 1.0.51
codeql/quantum:
version: 0.0.17
version: 0.0.29
codeql/rangeanalysis:
version: 1.0.39
version: 1.0.51
codeql/ssa:
version: 2.0.15
version: 2.0.27
codeql/tutorial:
version: 1.0.39
version: 1.0.51
codeql/typeflow:
version: 1.0.39
version: 1.0.51
codeql/typetracking:
version: 2.0.23
version: 2.0.35
codeql/util:
version: 2.0.26
version: 2.0.38
codeql/xml:
version: 1.0.39
version: 1.0.51
compiled: false
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
| test.c:27:10:27:14 | ... < ... | Controlling expression in loop statement has an invariant value. |
| test.c:37:3:37:6 | 1 | Controlling expression in conditional statement has an invariant value. |
| test.c:38:3:38:3 | 1 | Controlling expression in conditional statement has an invariant value. |
| test.c:45:10:45:26 | ... && ... | Controlling expression in loop statement has an invariant value. |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not match the test annotation

24 changes: 12 additions & 12 deletions cpp/autosar/src/codeql-pack.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ dependencies:
advanced-security/qtil:
version: 0.0.3
codeql/controlflow:
version: 2.0.23
version: 2.0.35
codeql/cpp-all:
version: 6.1.4
version: 10.2.0
codeql/dataflow:
version: 2.0.23
version: 2.1.7
codeql/mad:
version: 1.0.39
version: 1.0.51
codeql/quantum:
version: 0.0.17
version: 0.0.29
codeql/rangeanalysis:
version: 1.0.39
version: 1.0.51
codeql/ssa:
version: 2.0.15
version: 2.0.27
codeql/tutorial:
version: 1.0.39
version: 1.0.51
codeql/typeflow:
version: 1.0.39
version: 1.0.51
codeql/typetracking:
version: 2.0.23
version: 2.0.35
codeql/util:
version: 2.0.26
version: 2.0.38
codeql/xml:
version: 1.0.39
version: 1.0.51
compiled: false
2 changes: 1 addition & 1 deletion cpp/autosar/src/qlpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ suites: codeql-suites
license: MIT
dependencies:
codeql/common-cpp-coding-standards: '*'
codeql/cpp-all: 6.1.4
codeql/cpp-all: 10.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ where
) and
// Omit using alias (cf. https://github.com/github/codeql-coding-standards/issues/739)
// Exclude Using alias which refer directly to a TypeParameter
not d.(UsingAliasTypedefType).getBaseType() instanceof TypeTemplateParameter
not d.(TypeAliasType).getBaseType() instanceof TypeTemplateParameter
select d,
"Member " + d.getName() + " template class does not use any of template arguments of its $@.",
d.getDeclaringType(), "declaring type"
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ where
kind = "variable"
or
de.getDeclaration() instanceof Type and
not de.getDeclaration() instanceof UsingAliasTypedefType and
not de.getDeclaration() instanceof TypeAliasType and
kind = "type"
) and
not otherDeclaration.isDefinition() and
Expand Down
24 changes: 12 additions & 12 deletions cpp/autosar/test/codeql-pack.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ dependencies:
advanced-security/qtil:
version: 0.0.3
codeql/controlflow:
version: 2.0.23
version: 2.0.35
codeql/cpp-all:
version: 6.1.4
version: 10.2.0
codeql/dataflow:
version: 2.0.23
version: 2.1.7
codeql/mad:
version: 1.0.39
version: 1.0.51
codeql/quantum:
version: 0.0.17
version: 0.0.29
codeql/rangeanalysis:
version: 1.0.39
version: 1.0.51
codeql/ssa:
version: 2.0.15
version: 2.0.27
codeql/tutorial:
version: 1.0.39
version: 1.0.51
codeql/typeflow:
version: 1.0.39
version: 1.0.51
codeql/typetracking:
version: 2.0.23
version: 2.0.35
codeql/util:
version: 2.0.26
version: 2.0.38
codeql/xml:
version: 1.0.39
version: 1.0.51
compiled: false
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
| test.cpp:19:3:19:17 | 1370 | The digit sequence 01010101'1010 uses a digit sequence separator at a spacing other than 4. |
| test.cpp:20:3:20:15 | 85 | The digit sequence 01'01'01'01 uses a digit sequence separator at a spacing other than 4. |
| test.cpp:21:3:21:14 | 85 | The digit sequence 010'1010'1 uses a digit sequence separator at a spacing other than 4. |
| test.cpp:26:3:26:15 | 11000000000.0 | The digit sequence 1000'000 uses a digit sequence separator at a spacing other than 3. |
| test.cpp:27:3:27:16 | 11000000000.0 | The digit sequence 10'00'000 uses a digit sequence separator at a spacing other than 3. |
| test.cpp:28:3:28:17 | 11000000000.0 | The digit sequence 1'0 uses a digit sequence separator at a spacing other than 3. |
| test.cpp:29:3:29:16 | 11000000000.0 | The digit sequence 10'000'00 uses a digit sequence separator at a spacing other than 3. |
| test.cpp:30:3:30:15 | 11000000000.0 | The digit sequence 1'0 uses a digit sequence separator at a spacing other than 3. |
| test.cpp:26:3:26:15 | 1.1E10 | The digit sequence 1000'000 uses a digit sequence separator at a spacing other than 3. |
| test.cpp:27:3:27:16 | 1.1E10 | The digit sequence 10'00'000 uses a digit sequence separator at a spacing other than 3. |
| test.cpp:28:3:28:17 | 1.1E10 | The digit sequence 1'0 uses a digit sequence separator at a spacing other than 3. |
| test.cpp:29:3:29:16 | 1.1E10 | The digit sequence 10'000'00 uses a digit sequence separator at a spacing other than 3. |
| test.cpp:30:3:30:15 | 1.1E10 | The digit sequence 1'0 uses a digit sequence separator at a spacing other than 3. |
Loading
Loading