Allow make test with ASan / --address-sanitizer
gary at catalyst.net.nz
Fri May 4 01:00:39 UTC 2018
I've had a little play with this, it does blow out the test run times in
the order of 5 to 6 times. And there do appear to be issues, I currently
don't have the time to chase these down.
On 03/05/18 20:18, Alexander Bokovoy via samba-technical wrote:
> On to, 03 touko 2018, Andrew Bartlett via samba-technical wrote:
>> On Thu, 2018-05-03 at 16:35 +1200, Andrew Bartlett via samba-technical
>>> I needed to get AddressSanitizer working to fix the LSA use-after-free
>>> bug and the attached make it all work again.
>>> Recent versions of GCC require that the library be in LD_PRELOAD before
>>> anything that is linked with libasan. I use a horrible ldd hack to
>>> find the right library path (sorry, not sorry).
>>> Once we get a more modern sn-devel I'll enable this by default in
>> And this patch allows a developer build with --address-sanitizer
>> Please review this also.
> Pushed to autobuild.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the samba-technical