audk/UnitTestFrameworkPkg/Library
Michael D Kinney 2cb8bf6c69 UnitTestFrameworkPkg: Fix false positives from address sanitizer
PR #6408 introduced a host specific NORETURN function to resolve
false positives from the address sanitizer when LongJump() is
called and the stack is reset to a previous stack frame.

This approach was discussed here:
https://github.com/tianocore/edk2/pull/6408/files#r1918810499

False positives are still being observed with this initial
solution.

The address sanitizer provides __asan_handle_no_return()
to clean up shadow memory before a NORETURN function is
called and provides a simpler implementation for this
issue without having to introduce a host specific
NORETURN function.

https://github.com/llvm/llvm-project/blob/main/compiler-rt/include/sanitizer/asan_interface.h

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2025-01-29 19:35:30 +00:00
..
CmockaLib UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
FunctionMockLib UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
GoogleTestLib UnitTestFrameworkPkg: Use /MTd and enable Address Sanitizers 2025-01-21 05:02:38 +00:00
Posix UnitTestFrameworkPkg/MemoryAllocationLibPosix: Add allocate below address 2025-01-21 05:02:38 +00:00
SubhookLib UnitTestFrameworkPkg: Add subhook submodule required for gmock 2023-04-10 05:59:02 +00:00
UnitTestBootLibNull
UnitTestBootLibUsbClass UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
UnitTestDebugAssertLib UnitTestFrameworkPkg: Fix false positives from address sanitizer 2025-01-29 19:35:30 +00:00
UnitTestLib UnitTestFrameworkPkg/UnitTestLib: Reduce sanitizer false positive 2025-01-21 05:02:38 +00:00
UnitTestPeiServicesTablePointerLib UnitTestFrameworkPkg: Add UnitTestPeiServicesTablePointerLib 2023-06-13 02:53:40 +00:00
UnitTestPersistenceLibNull
UnitTestPersistenceLibSimpleFileSystem UnitTestFrameworkPkg: UnitTestPersistenceLib: Save Unit Test Cache Option 2023-07-20 20:20:42 +00:00
UnitTestResultReportLib UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
UnitTestUefiBootServicesTableLib