On Sun, Jan 19, 2020 at 12:38:43PM +0500, ???? ??????? wrote:
> > > how noisy is ubsan ? should we add it to CI ?
> > >
> >
> > No idea. I created a dedicated test executable and copied over the
> > implementation to avoid needing to configure HAProxy to use DNS for the
> > verification of my patch.
> >
> > In short: Simply try for yourself, please :-)
> >
> 
> it's bloody murder
> 
> https://travis-ci.com/chipitsine/haproxy/jobs/277286655

Thanks for the test. This report is not much encouraging considering
that it shows the test confuses pointer calculations and pointer
dereferences. Indeed, I've checked them all and they're all the
byproduct of calling LIST_ELEM to retrieve a list element from the
list's pointer, which is done by subtracting an offset from this
pointer. There is absolutely no memory access done there. Thus I
guess this rules out any hope to use this in automated tests :-)

Willy

Reply via email to