<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Plugin, branch dependabot/github_actions/github/codeql-action-4</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2025-09-28T23:38:21+00:00</updated>
<entry>
<title>BaseTools/Plugin/HostBasedUnitTestRunner: Add CLANG support</title>
<updated>2025-09-28T23:38:21+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2025-08-22T03:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3c454cf7d43c59f7ff0000ca6ac333e8f359673e'/>
<id>urn:sha1:3c454cf7d43c59f7ff0000ca6ac333e8f359673e</id>
<content type='text'>
Update HostBasedUnitTestRunner to generate merged Cobertura
coverage.xml output file using CLANG code coverage data
from -fprofile-instr-generate -fcoverage-mapping options.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Remove ARM32 Support</title>
<updated>2025-09-25T22:04:10+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2025-09-17T21:24:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2ff173af128e707867c6409f2e4ca308c255ca32'/>
<id>urn:sha1:2ff173af128e707867c6409f2e4ca308c255ca32</id>
<content type='text'>
edk2 is dropping support for the ARM32 architecture. This
commit removes ARM32 code from BaseTools.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/HostBasedUnitTestRunner: lcov ignore mismatch errors</title>
<updated>2025-06-24T19:32:41+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2025-06-19T05:05:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3f278768fab371ca2d9d2515a85894f8ee3194f9'/>
<id>urn:sha1:3f278768fab371ca2d9d2515a85894f8ee3194f9</id>
<content type='text'>
Ignore mismatch errors for lcov 2.x in all locations that lcov
is run. When building more complex unit tests, these mismatch
errors are showing up in different phases of the code coverage
collection.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&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: Fix Debug Macro Checking to Include Scanning Files</title>
<updated>2025-03-13T15:39:06+00:00</updated>
<author>
<name>Jason1 Lin</name>
<email>jason1.lin@intel.com</email>
</author>
<published>2025-03-13T12:44:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1e0051e293aedc1a196ae5678a1e953e5ed946f1'/>
<id>urn:sha1:1e0051e293aedc1a196ae5678a1e953e5ed946f1</id>
<content type='text'>
- In the commit 42a141800c0c26a09d2344e84a89ce4097a263ae
  there was a misuse of "is_dir" method.

- Treating it as an object rather than function call,
  which caused if-condition to always as "false".

- No files would be added to scanning list due to incorrect usage.

- This patch corrects the issue by properly using "is_dir()".

Signed-off-by: Jason1 Lin &lt;jason1.lin@intel.com&gt;
</content>
</entry>
<entry>
<title>DebugMacroCheck: Do not show progress bar with zero items</title>
<updated>2025-03-06T15:35:40+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2025-03-05T21:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=67df979ad2ea0a5d344bd997a7b3b1e87c7e5cc8'/>
<id>urn:sha1:67df979ad2ea0a5d344bd997a7b3b1e87c7e5cc8</id>
<content type='text'>
In the case that the total provided to the `_show_progress()`
function is zero, do not show a progress bar to prevent aborts
`ZeroDivisionError` when calculating the progress percentage.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/Plugin/HostBasedUnitTestRunner: Set ASAN env vars</title>
<updated>2025-01-21T05:02:38+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2024-12-04T03:39:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=139cbb266b4847d1b63a20c568a5df9b26f7489b'/>
<id>urn:sha1:139cbb266b4847d1b63a20c568a5df9b26f7489b</id>
<content type='text'>
The environment variable `GTEST_CATCH_EXCEPTION` must be
set to `0` for so all exceptions are handled by the
address sanitizer and not GoogleTest. This allows stack
back trace and other details to be logged by the address
sanitizer so the source of the issue identified address
sanitizer can be determined.

The environment variable `ASAN_OPTIONS` must be set to
`detect_leaks=0` to disable memory leak detection. The
unit test frameworks may have memory leaks and some
firmware code under test use cases may perform a memory
allocation without a matching memory free as their
expected behavior.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Skip directories with code extensions in the name</title>
<updated>2025-01-07T04:56:24+00:00</updated>
<author>
<name>Alexander Gryanko</name>
<email>xpahos@gmail.com</email>
</author>
<published>2024-12-24T23:18:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=42a141800c0c26a09d2344e84a89ce4097a263ae'/>
<id>urn:sha1:42a141800c0c26a09d2344e84a89ce4097a263ae</id>
<content type='text'>
Currently openssl has an Open Quantum Safe provider submodule with
directories like oqs-provider/oqs-template/oqsprov/oqsprov.c or
oqs-provider/oqs-template/oqsprov/oqsprov/oqsprov_capabilities.c
that are used as templates, but DebugMacroCheck tries to read them
as a file when recursively traversing the subdirectories.

Fail message:

  File "/usr/lib/python3.10/pathlib.py", line 1119, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
  IsADirectoryError: [Errno 21] Is a directory: '/CryptoPkg/Library
/OpensslLib/openssl/oqs-provider/oqs-template/oqsprov/oqsprov.c'

Signed-off-by: Alexander Gryanko &lt;xpahos@gmail.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Coverage: Detect lcov version</title>
<updated>2024-12-05T00:05:47+00:00</updated>
<author>
<name>Oliver Steffen</name>
<email>osteffen@redhat.com</email>
</author>
<published>2024-12-04T11:10:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=47ef19787356e003042d6f37d3853b9a47cb5d9e'/>
<id>urn:sha1:47ef19787356e003042d6f37d3853b9a47cb5d9e</id>
<content type='text'>
Detect the version of lcov and only apply
version 2 workaround when needed.

Fixes 61c714285f8c

Signed-off-by: Oliver Steffen &lt;osteffen@redhat.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Coverage: make lcov v2.0 work</title>
<updated>2024-12-04T06:08:05+00:00</updated>
<author>
<name>Oliver Steffen</name>
<email>osteffen@redhat.com</email>
</author>
<published>2024-09-30T18:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=61c714285f8cb83aa89b91798255f82260fa4ac2'/>
<id>urn:sha1:61c714285f8cb83aa89b91798255f82260fa4ac2</id>
<content type='text'>
lcov 2.0 and newer does additional error and consistency checking
compared to previous versions. This can lead to CI jobs failing due to
new/unexpected errors showing up.

See:
- https://edk2.groups.io/g/devel/message/116138
- https://github.com/linux-test-project/lcov/issues/209
- https://github.com/linux-test-project/lcov/issues/238

Signed-off-by: Oliver Steffen &lt;osteffen@redhat.com&gt;
</content>
</entry>
</feed>
