audk/BaseTools/Plugin/HostBasedUnitTestRunner
Michael D Kinney 139cbb266b BaseTools/Plugin/HostBasedUnitTestRunner: Set ASAN env vars
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 <michael.d.kinney@intel.com>
2025-01-21 05:02:38 +00:00
..
HostBasedUnitTestRunner.py BaseTools/Plugin/HostBasedUnitTestRunner: Set ASAN env vars 2025-01-21 05:02:38 +00:00
HostBasedUnitTestRunner_plug_in.yaml