If running with ASAN, mark test_with{,out}_bzero() with the
authortb <tb@openbsd.org>
Thu, 10 Feb 2022 08:39:32 +0000 (08:39 +0000)
committertb <tb@openbsd.org>
Thu, 10 Feb 2022 08:39:32 +0000 (08:39 +0000)
commitaa487188ae3e5285b534ac22067648966572a1a7
treecfe1b93160a9881ad9cee28fc1cf47fa05873dc8
parent9890585b4f3fb1cb7bd5eb5baebb0e096189c6b8
If running with ASAN, mark test_with{,out}_bzero() with the
no_sanitize_address attribute. ASAN doesn't seem to be able
to understand these lowlevel gymnastics with sigaltstack()
and segfaults in __intercept_memem().

This allows LibreSSL and other portable projects that use this
test run tests with ASAN enabled.

Issue reported and workaround suggested by Ilya Shipitsin

Paraphrasing millert: it's a little ugly but it's only a regress.
regress/lib/libc/explicit_bzero/explicit_bzero.c