<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools, branch dependabot/github_actions/github/codeql-action-4.39.3</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-10-31T02:12:04+00:00</updated>
<entry>
<title>BaseTools: Preserve quoted paths in workspace macro expansion</title>
<updated>2026-10-31T02:12:04+00:00</updated>
<author>
<name>Antaeus Kleinert-Strand</name>
<email>antklein@microsoft.com</email>
</author>
<published>2026-10-06T18:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=37b18eca7958215fcf81b297e313adf60c0a70cb'/>
<id>urn:sha1:37b18eca7958215fcf81b297e313adf60c0a70cb</id>
<content type='text'>
Whitespace-based tokenization breaks quoted paths containing spaces
and prevents correct package path resolution. It also collapses
whitespace between compiler options.

Resolve workspace macros while preserving quotes, option prefixes,
whitespace, and Windows backslashes. Prefer existing workspace paths,
then search package roots in order. Keep missing paths rooted in the
workspace instead of falling back to the last package root.

Add regression tests covering quoting, spaces, search precedence,
missing paths, and Windows-style paths. Register the tests alongside
the existing Python tools test suites.

Signed-off-by: Antaeus Kleinert-Strand &lt;antklein@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Rename workspace os alias and clean up imports</title>
<updated>2026-10-31T02:12:04+00:00</updated>
<author>
<name>Antaeus Kleinert-Strand</name>
<email>antklein@microsoft.com</email>
</author>
<published>2026-10-27T18:23:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=10ef465ee2d6d42803e60075399aafb4ec0fa9a2'/>
<id>urn:sha1:10ef465ee2d6d42803e60075399aafb4ec0fa9a2</id>
<content type='text'>
Rename the LongFilePathOs import alias from os to Os and update its
references without changing workspace behavior.

Remove unused os and sys imports from the Python test runner and
normalize blank lines in both files.

Signed-off-by: Antaeus Kleinert-Strand &lt;antklein@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/GenFv: handle NetBSD/OpenBSD libuuid include path</title>
<updated>2026-10-29T16:33:49+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>leif.lindholm@oss.qualcomm.com</email>
</author>
<published>2026-10-16T22:23:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=58206682fe3212b80f662f6a62c375cce85d595e'/>
<id>urn:sha1:58206682fe3212b80f662f6a62c375cce85d595e</id>
<content type='text'>
NetBSD/OpenBSD use same installation path for libuuid header as FreeBSD,
so add || conditions for that.

Signed-off-by: Leif Lindholm &lt;leif.lindholm@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/CommonLib: drop unused "strlwr" function</title>
<updated>2026-10-29T16:33:49+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>leif.lindholm@oss.qualcomm.com</email>
</author>
<published>2026-10-16T22:18:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4bfe98b3af83f3d85148082cf33883c37deefde3'/>
<id>urn:sha1:4bfe98b3af83f3d85148082cf33883c37deefde3</id>
<content type='text'>
Compilation of strlwr fails on NetBSD 11/GCC 12.5 build error with
error: array subscript has type 'char' [-Werror=char-subscripts]
due to use of undefined char signedness.

There are however no remaining callers in BaseTools, and I think
the last user may have been deleted in 2008 with 808def96aa45.
So drop the function.

Signed-off-by: Leif Lindholm &lt;leif.lindholm@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/set_vsprefix_envs.bat: Fix VS2019/VS2022 falling into VS2026</title>
<updated>2026-10-28T09:57:15+00:00</updated>
<author>
<name>Nate DeSimone</name>
<email>nathaniel.l.desimone@intel.com</email>
</author>
<published>2026-10-27T17:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=541e5611d624fc65d7c61936e97032410db8d431'/>
<id>urn:sha1:541e5611d624fc65d7c61936e97032410db8d431</id>
<content type='text'>
Adding VS2026 support left the :SetWinDDK label and code block between
:SetVS2022 and :SetVS2026. The "goto SetWinDDK" taken after VS2019 or VS2022
setup then fell through into :SetVS2026, so VS2026 was also initialized and its
environment variables (VCINSTALLDIR, PATH) overrode the requested version.

The fix is to remove the intermediate :SetWinDDK block, so the goto
statements land on the single remaining copy of the :SetWinDDK block at the
end of the file.

Signed-off-by: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/GenFw: Remove unused mPhdrBase variable</title>
<updated>2026-10-27T21:09:48+00:00</updated>
<author>
<name>Nate DeSimone</name>
<email>nathaniel.l.desimone@intel.com</email>
</author>
<published>2026-10-23T22:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f884ecc80e7b601821874b197c0979b8999d7411'/>
<id>urn:sha1:f884ecc80e7b601821874b197c0979b8999d7411</id>
<content type='text'>
Clang 23 detects that mPhdrBase is unused via the
-Wunused-but-set-global warning, which breaks the BaseTools
build.

Signed-off-by: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Fix CLANGDWARF LoongArch64 ASLC build</title>
<updated>2026-10-26T11:57:25+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2026-10-26T07:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5c148d5a90825929283615136c20127bd7d14a69'/>
<id>urn:sha1:5c148d5a90825929283615136c20127bd7d14a69</id>
<content type='text'>
When building a module containing .aslc files on the CLANGDWARF LoongArch64
platform, errors occur because the target and linker are set incorrectly.
Therefore, this patch:
- Add the missing target triplet to ASLCC_FLAGS so ACPI objects are
compiled for LoongArch64 rather than the host architecture.
- Add -fuse-ld=lld to ASLDLINK_FLAGS so linking does not fall back to the
GCC ld, which lacks elf64loongarch support.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
Signed-off-by: Chao Li &lt;lichao@loongson.cn&gt;
</content>
</entry>
<entry>
<title>BaseTools: FMMT: Add replacement regression tests</title>
<updated>2026-10-22T01:36:43+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-09-17T04:08:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ef03ae623f254e4914e99df21220cb7a00c68f08'/>
<id>urn:sha1:ef03ae623f254e4914e99df21220cb7a00c68f08</id>
<content type='text'>
This change adds a few unit test cases to validate the FMMT tool.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: FvHandler: Safely update FV free-space nodes</title>
<updated>2026-10-22T01:36:43+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-09-17T04:20:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=68360d273c9788e75b9aca13f839563a5a6cb498'/>
<id>urn:sha1:68360d273c9788e75b9aca13f839563a5a6cb498</id>
<content type='text'>
Current FV resize routine assumes that the final child is always a free-
space node. However, when no such node exists, these routines can remove
or overwrite valid trailing FFS nodes. One replacement path also inserts
the free-space byte count instead of the constructed tree node.

This change centralizes free-space node creation, resizing, and removal,
using the helper for direct replacements and recursive parent resizing.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: FMMTOperation: Use distinct FFS trees for repeated replacement</title>
<updated>2026-10-22T01:36:43+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-09-17T04:20:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=26d6e1f5f26a7456f63011a3107d0ca577eed489'/>
<id>urn:sha1:26d6e1f5f26a7456f63011a3107d0ca577eed489</id>
<content type='text'>
Current `ReplaceFfs` reuses the parsed replacement FFS tree for every
matching target. However, `FvHandler` mutates the tree while attaching it
to a target, causing later replacements inherit state from an earlier
replaced instance and hang the process.

This change uses deep-copy of the replacement tree for each target to
avoid the failure case.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
</feed>
