This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] configure: Add --enable-sanitize-undefined.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 27 May 2015 15:13:43 +0200
- Subject: Re: [PATCH] configure: Add --enable-sanitize-undefined.
On Thu, 2015-05-21 at 23:36 +0200, Mark Wielaard wrote:
> Now that we are -fsanitize=undefined clean make sure we keep it that way.
> We do have to disable alignment checking. Because we might explicitly
> use unaligned accesses (see ALLOW_UNALIGNED). And we have to disable
> integer overflow checking when running the tests under valgrind. Because
> those are unreliable under VEX emulation.
Turned out that was a bug in valgrind now fixed:
Luckily that bug never made it into a released valgrind version.
I have pushed this change to master without the disabling of integer
overflow checking under valgrind.