Skip to content

Commit 92eb683

Browse files
authored
Merge pull request #210 from microsoft/development
Update cpp-all and cpp-queries dependencies. (#209)
2 parents a303afd + aeb6376 commit 92eb683

File tree

8 files changed

+37
-26
lines changed

8 files changed

+37
-26
lines changed

.github/workflows/build-codeql.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
workflow_dispatch:
1515

1616
env:
17-
CODEQL_VERSION: 2.23.3
17+
CODEQL_VERSION: 2.24.2
1818

1919
jobs:
2020
build:

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# Change Log
33
All notable changes to this project will be documented in this file.
44

5+
## [1.8.3] - 2026-02-25
6+
7+
### Changed
8+
- Updated the C/C++ CodeQL libraries we depend on to version 7.0.0.
9+
- Updated the cpp-queries pack we depend on to version 0.0.5.
510

611
## [1.8.2] - 2026-01-23
712

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository contains open-source components for supplemental use in developi
44
### For General Use
55
| CodeQL CLI Version | microsoft/windows-drivers CodeQL Pack Version | microsoft/cpp-queries CodeQL Pack Version | Associated Repo Branch|
66
|--------------------------|------------------------------------------|-------------------------------|-----------------------------|
7-
| 2.24.1 or greater* | [Latest Stable Version](https://github.com/microsoft/Windows-Driver-Developer-Supplemental-Tools/pkgs/container/windows-drivers) | 0.0.4 | Main |
7+
| 2.24.1 or greater* | [Latest Stable Version](https://github.com/microsoft/Windows-Driver-Developer-Supplemental-Tools/pkgs/container/windows-drivers) | 0.0.5 | Main |
88

99

1010
When using the precompiled pack, please use the most recent CodeQL CLI version listed above.

src/codeql-pack.lock.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
11
---
22
lockVersion: 1.0.0
33
dependencies:
4+
codeql/controlflow:
5+
version: 2.0.24
46
codeql/cpp-all:
5-
version: 4.2.0
7+
version: 7.0.0
68
codeql/dataflow:
7-
version: 2.0.5
9+
version: 2.0.24
810
codeql/mad:
9-
version: 1.0.21
11+
version: 1.0.40
12+
codeql/quantum:
13+
version: 0.0.18
1014
codeql/rangeanalysis:
11-
version: 1.0.21
15+
version: 1.0.40
1216
codeql/ssa:
13-
version: 1.1.0
17+
version: 2.0.16
1418
codeql/suite-helpers:
15-
version: 1.0.21
19+
version: 1.0.40
1620
codeql/tutorial:
17-
version: 1.0.21
21+
version: 1.0.40
1822
codeql/typeflow:
19-
version: 1.0.21
23+
version: 1.0.40
2024
codeql/typetracking:
21-
version: 2.0.5
25+
version: 2.0.24
2226
codeql/util:
23-
version: 2.0.8
27+
version: 2.0.27
2428
codeql/xml:
25-
version: 1.0.21
29+
version: 1.0.40
2630
microsoft/cpp-queries:
27-
version: 0.0.4
31+
version: 0.0.5
2832
compiled: false

src/microsoft/Likely Bugs/Memory Management/UseAfterFree/UseAfterFree.ql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ predicate areExpressionsGuardedBySimilarConditionsThatMayCallReturnStatement( Ex
3434
gc1.controls(e1.getBasicBlock(), _) and
3535
gc2.controls(exitExpr.getBasicBlock(), b) and
3636
gc2.controls(e2.getBasicBlock(), b.booleanNot()) and
37-
gc1.getEnclosingFunction() = gc2.getEnclosingFunction() and
38-
gc1.getASuccessor*() = gc2 and
37+
gc1.(Expr).getEnclosingFunction() = gc2.(Expr).getEnclosingFunction() and
38+
gc1.(Expr).getASuccessor*() = gc2.(Expr) and
3939
forall( Variable v |
40-
v.getAnAccess() = gc1.getAChild() |
41-
v.getAnAccess() = gc2.getAChild() ) and
40+
v.getAnAccess() = gc1.(Expr).getAChild() |
41+
v.getAnAccess() = gc2.(Expr).getAChild() ) and
4242
exitExpr.getEnclosingElement() instanceof ReturnStmt
4343
)
4444
}

src/qlpack.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT license.
33

4+
library: false
5+
warnOnImplicitThis: false
6+
compileForOverlayEval: false
47
name: microsoft/windows-drivers
5-
version: 1.8.2
8+
version: 1.8.3
9+
description: CodeQL queries designed for Windows device driver development.
610
dependencies:
7-
codeql/cpp-all: ^4.2.0
8-
microsoft/cpp-queries: ^0.0.4
11+
codeql/cpp-all: ^7.0.0
12+
microsoft/cpp-queries: ^0.0.5
913
suites: windows-driver-suites
10-
defaultSuiteFile: windows-driver-suites/recommended.qls
1114
extractor: cpp
12-
licenses: MIT
13-
description: CodeQL queries designed for Windows device driver development.
15+
defaultSuiteFile: windows-driver-suites/recommended.qls

src/windows-driver-suites/mustfix.qls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- microsoft/Security/CWE/CWE-704/WcharCharConversionLimited.ql
1212
- queries: .
1313
from: microsoft/cpp-queries
14-
version: 0.0.4
14+
version: 0.0.5
1515
- include:
1616
query path:
1717
- Likely Bugs/Arithmetic/BadAdditionOverflowCheck.ql

src/windows-driver-suites/recommended.qls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
- microsoft/Security/Crytpography/HardcodedIVCNG.ql
6060
- queries: .
6161
from: microsoft/cpp-queries
62-
version: 0.0.4
62+
version: 0.0.5
6363
- include:
6464
query path:
6565
- Best Practices/Likely Errors/OffsetUseBeforeRangeCheck.ql

0 commit comments

Comments
 (0)