Vincent Lefevre dixit:
>In my case, I just unset LD_PRELOAD, which is not needed when
>I'm testing software with AddressSanitizer.
Risky with things like cowbuilder, impossible with fakeroot
or datefudge, etc.
>HAve you tried putting libasan* in LD_PRELOAD, hoping that it
>will be loaded first (i.e. tools that add shared objects to
>LD_PRELOAD should append them).
I could just prepend it before the call to the test run in
question, as LD_PRELOAD is set for the entire environment.
But, to what? There’s no unversioned .so, and the version
number of the .so.{3,6,8,…} differs, and it is not easy to
find. (Sure, ldd or objdump -p, but I’d not want to automate
on that.)
bye,
//mirabilos
--
Gast: „Ein Bier, bitte!“
Wirt: „Geht auch alkoholfrei?“
Gast: „Geht auch Spielgeld?“