<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Plugin/CodeQL, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-07-11T01:26:20+00:00</updated>
<entry>
<title>BaseTools/Plugin/CodeQL: Add CodeQL version update script</title>
<updated>2026-07-11T01:26:20+00:00</updated>
<author>
<name>Mingjie Shen</name>
<email>shen497@purdue.edu</email>
</author>
<published>2026-05-04T21:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=927c7b1d819fed9fa718a793f5da3b376dd6eacc'/>
<id>urn:sha1:927c7b1d819fed9fa718a793f5da3b376dd6eacc</id>
<content type='text'>
Add a maintenance script that updates the CodeQL CLI dependency
YAML files and CodeQlQueries.qls together.

The script refreshes the CLI version, release digests, and cpp query
pack pin from the GitHub release metadata and the corresponding
qlpack.yml in the CodeQL CLI release branch.

Add comments to the CodeQL CLI dependency YAML files that direct
maintainers to use the script for future version updates.

Signed-off-by: Mingjie Shen &lt;shen497@purdue.edu&gt;
</content>
</entry>
<entry>
<title>BaseTools/Plugin/CodeQL: Update CodeQL CLI to v2.25.3</title>
<updated>2026-07-11T01:26:20+00:00</updated>
<author>
<name>Mingjie Shen</name>
<email>shen497@purdue.edu</email>
</author>
<published>2026-05-04T20:54:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f9e3f928198f48afcedb720e881458280e510f6c'/>
<id>urn:sha1:f9e3f928198f48afcedb720e881458280e510f6c</id>
<content type='text'>
Update CodeQL external dependency definitions to v2.25.3 for generic,
Linux, and Windows archives, including refreshed SHA256 hashes from the
release metadata.

Pin the codeql/cpp-queries query pack to version 1.6.1, as specified in
the qlpack.yml at:
https://github.com/github/codeql/blob/codeql-cli/v2.25.3/cpp/ql/src/qlpack.yml

Signed-off-by: Mingjie Shen &lt;shen497@purdue.edu&gt;
</content>
</entry>
<entry>
<title>BaseTools: Fix type annotations</title>
<updated>2025-05-26T01:02:24+00:00</updated>
<author>
<name>Roman A</name>
<email>121314722+GameRoMan@users.noreply.github.com</email>
</author>
<published>2025-05-12T15:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=88094970943d11c7c11710839e3d73b3e21fbaae'/>
<id>urn:sha1:88094970943d11c7c11710839e3d73b3e21fbaae</id>
<content type='text'>

Fixed type annotations for functions:
- `def _parse_pattern(line: str) -&gt; Tuple[str]:` -&gt; `def _parse_pattern(line: str) -&gt; Tuple[bool, str, str]:`
- `def get_scopes(codeql_enabled: bool) -&gt; Tuple[str]:` -&gt; `def get_scopes(codeql_enabled: bool) -&gt; Tuple[str, ...]:`

Signed-off-by: Roman A &lt;gameromandev@gmail.com&gt;</content>
</entry>
<entry>
<title>BaseTools/CodeQl: Give preference to Plugin settings</title>
<updated>2024-10-09T06:02:34+00:00</updated>
<author>
<name>Abdul Lateef Attar</name>
<email>AbdulLateef.Attar@amd.com</email>
</author>
<published>2024-09-30T06:50:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fd619ec4608564fe6cf5ba8f9ae986206355861e'/>
<id>urn:sha1:fd619ec4608564fe6cf5ba8f9ae986206355861e</id>
<content type='text'>
For the CodeQl `AuditOnly` flag,
prioritize Plugin settings over global settings.

This patch adjusts the logic for the global `AuditOnly` setting,
placing it before the Plugin setting code.
This ensures that Plugin settings take precedence over global settings.

Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Cc: Joey Vagedes &lt;joey.vagedes@gmail.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Signed-off-by: Abdul Lateef Attar &lt;AbdulLateef.Attar@amd.com&gt;
</content>
</entry>
<entry>
<title>CodeQlQueries.qls: Pin to the 1.1.0 codeq/cpp-queries pack</title>
<updated>2024-07-31T23:02:15+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-07-26T15:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=eed43245dfdd6d616f7a7d72ba4ca52de3d59584'/>
<id>urn:sha1:eed43245dfdd6d616f7a7d72ba4ca52de3d59584</id>
<content type='text'>
The codeql/cpp-queries pack used in CodeQlQueries.qls was versioned
1.1.0 for the CodeQL CLI v2.18.1 release currently used.

https://github.com/github/codeql/blob/codeql-cli/v2.18.1/cpp/ql/src/qlpack.yml

This change pins that pack version to prevent the CodeQL CLI and
pack from getting out of sync until explicitly updated.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/codeql: Update to CodeQL 2.18.1</title>
<updated>2024-07-26T08:17:11+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-07-25T19:46:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6589843cc619b3a5e2d2c0e5b12451b11a3f2288'/>
<id>urn:sha1:6589843cc619b3a5e2d2c0e5b12451b11a3f2288</id>
<content type='text'>
Updates to the latest CodeQL version to resolve query dependencies.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/CodeQL: Removed unused static function query</title>
<updated>2024-07-16T04:04:33+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-07-12T23:29:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1bb9f47739ae7993191a36bea76c5a2157fdd10f'/>
<id>urn:sha1:1bb9f47739ae7993191a36bea76c5a2157fdd10f</id>
<content type='text'>
This query seems to produce a rate of false positives with some
common patterns in edk2 like passing function pointers for callback.

Due to the usage of `STATIC` instead of `static` particularly for
functions, this query was rarely used in the past. It is removed
here to prevent future false positives.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>CodeQL: Update from 2.16.1 to 2.17.3</title>
<updated>2024-05-21T02:24:08+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-05-17T20:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7142e648416ff5d3eac6c6d607874805f5de0ca8'/>
<id>urn:sha1:7142e648416ff5d3eac6c6d607874805f5de0ca8</id>
<content type='text'>
This fixes an issue where the CodeQL queries currently fetched in the
pipeline are incompatible with the current executable used.

Update to pick up functional and security fixes. See the following
comparison for detailed differences:

https://github.com/github/codeql-cli-binaries/compare/v2.16.1...v2.17.3

Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Joey Vagedes &lt;joey.vagedes@gmail.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Cc: Yuwei Chen &lt;yuwei.chen@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>Update to CodeQL 2.16.1</title>
<updated>2024-04-24T23:11:19+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-04-24T17:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=90b6725562c82ec630d9e0cb19078f4b507db10b'/>
<id>urn:sha1:90b6725562c82ec630d9e0cb19078f4b507db10b</id>
<content type='text'>
Updates CodeQL to work with the latest queries. Includes functional
and security fixes within the CodeQL CLI binary.

For more information on release details see:

https://github.com/github/codeql-cli-binaries/releases

For changes between the previous version (2.14.5) and 2.16.1 see:

https://github.com/github/codeql-cli-binaries/compare/v2.14.5...v2.16.1

Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Joey Vagedes &lt;joey.vagedes@gmail.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Cc: Yuwei Chen &lt;yuwei.chen@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Joey Vagedes &lt;joey.vagedes@gmail.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/Plugin/CodeQL: Enable 30 queries</title>
<updated>2023-11-07T03:19:26+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2023-09-27T18:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d461137e22ed46fdae725741decb44b91e59c110'/>
<id>urn:sha1:d461137e22ed46fdae725741decb44b91e59c110</id>
<content type='text'>
Updates the CodeQL queries opted into by edk2 to a set of queries from
the standard CodeQL query package `codeql/cpp-queries`.

After testing a large number of queries the included set here were
found to be the most useful with the least number of false positives.
Some queries had a number of issues that led to them being placed on
the exclusion list so that they are not considered in the future
without the notes there being taken into account.

General details about queries available in the pack are available here:
https://codeql.github.com/codeql-query-help/cpp/

The issues found by these queries will need to be fixed over time. In
the meantime, the results will show to those that have permission in
the repo's GitHub Code Scanning area. The build will not fail due to
CodeQL issues (since they are not all fixed) but that can be enabled in
the future.

Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Cc: Yuwei Chen &lt;yuwei.chen@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Acked-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Acked-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
</feed>
