Re: Testing for memory safety issues with Address Sanitizer


On Wed, Sep 21, 2016 at 08:17:03AM -0500, Michael Catanzaro wrote:
undefined symbol: __asan_option_detect_stack_use_after_return

Is anything special needed for dlopened modules?
Try LDFLAGS+=-lasan

Another source of inconvenience is when compiling any library that
GCC needs itself, like gnome-calculator does.
Then, setting LD_PRELOAD=/usr/lib64/ worked for me.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]