You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write-Host "::error::Test results differ from the stored baseline. The diff has been uploaded to Azure Storage as 'health-diffdetailedfunctiontestresults.xlsx'. Please review."
150
+
exit 1
141
151
142
152
143
153
test-codeql-latest-vs-current:
144
-
# Tests if the latest codeql version produces the same results as the current version.
154
+
# Tests if the latest codeql version produces the same results as the current version.
155
+
# Runs in parallel with `test-query-health` (no `needs:` dependency) to halve the
156
+
# pipeline's wall-clock time. It is independent: it downloads its own (latest)
157
+
# CodeQL CLI and runs the same per-test build/analyze cycle. `continue-on-error`
158
+
# below means failures here never block the workflow regardless of order.
145
159
runs-on: windows-latest
146
160
continue-on-error: true # Allow script to return non-zero exit code
Write-Host "::error::Test results from latest CodeQL version differ from the stored baseline. The diff has been uploaded to Azure Storage as 'version-diffdetailedfunctiontestresults.xlsx'. Please review."
246
+
exit 1
223
247
- name: Save Latest Version
224
248
if: ${{ hashFiles('diffdetailedfunctiontestresults.xlsx') == '' }} # Only if there were no differences
225
249
uses: actions/upload-artifact@v4
@@ -230,7 +254,13 @@ jobs:
230
254
231
255
test-pack-version-update:
232
256
runs-on: windows-latest
233
-
needs: build
257
+
# Only enforce qlpack version bumps when the change is actually heading to
258
+
# `main`. We routinely stage many commits in `development` and bump the
259
+
# qlpack version once when promoting to `main`, so requiring a bump on
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,22 @@
2
2
# Change Log
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
## [1.10.0] - 2026-05-12
6
+
7
+
### Added
8
+
- Added the following recommended rules to our Microsoft subfolder. These rules are *not* part of our must-run set at this time.
9
+
- NonConstantFormat.ql: Detects printf-like function calls where the format string argument does not originate from a string literal, which could lead to format string vulnerabilities.
10
+
- ImproperNullTermination.ql: Detects uses of strings that may not be null-terminated being passed to string functions, which can cause buffer overflows or over-reads.
11
+
- StrncpyFlippedArgs.ql: Detects calls to strncpy where the size argument is based on the source buffer size instead of the destination, potentially causing buffer overflows.
12
+
- UnsafeUseOfStrcat.ql: Detects uses of strcat where the source string size is not checked before concatenation, which may result in buffer overflow.
13
+
- ArithmeticUncontrolled.ql: Detects arithmetic operations on data from random number generators that lack validation, potentially causing integer overflows.
14
+
- ArithmeticWithExtremeValues.ql: Detects arithmetic operations on variables assigned extreme values (INT_MAX, INT_MIN, etc.) that could cause overflow or underflow.
15
+
16
+
### Fixed
17
+
- Reduced false positive rate for InvalidFunctionClassTypedef.ql, IrqlAnnotationIssue.ql, IrqlTooHigh.ql, IrqlTooLow.ql, IllegalFieldAccess2.ql, OpaqueMdlUse.ql, OpaqueMdlWrite.ql, and UnguardedNullReturnDereference.ql. Thanks to zx2c4 for the contribution.
18
+
- Significantly improved performance for DriverAlertSuppression.ql and MultiplePagedCode.ql.
19
+
- Moderately improved performance and further reduced false positive rate for all IRQL queries.
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,12 @@ This repository contains open-source components for supplemental use in developi
10
10
When using the precompiled pack, please use the most recent CodeQL CLI version listed above.
11
11
12
12
### For WHCP Use (26H1)
13
+
14
+
Either of the options in the below table is accepted for 26H1. Please note that using the 1.10 windows-drivers pack provides improved accuracy and performance for several rules; see [CHANGELOG.md](./CHANGELOG.md).
15
+
13
16
| CodeQL CLI Version | microsoft/windows-drivers CodeQL Pack Version | microsoft/cpp-queries CodeQL Pack Version | Associated Repo Branch|
0 commit comments