This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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:
https://bugs.kde.org/show_bug.cgi?id=348247
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.

Cheers,

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]