[PATCH] configure: Add --enable-sanitize-address

Mark Wielaard mark@klomp.org
Wed Dec 8 23:50:28 GMT 2021


On Sun, Dec 05, 2021 at 02:39:25AM +0100, Mark Wielaard wrote:
> --enable-sanitize-address makes sure that all code is compiled with
> -fsanitizer=address and all tests run against libasan.
> It can be combined with --enable-sanitize-undefined, but not with
> --enable-valgrind.
> In maintainer mode there is one program that causes leaks, i386_gendis,
> so disable leak detection for that program.
> One testcase, test_nlist, needs special linker flags, make sure it also
> uses -fsanitizer=address when using the address sanitizer.

I pushed this. I'll also add --enable-sanitize-address to some of the
buildbot CI workers.



More information about the Elfutils-devel mailing list