Re: Testing for memory safety issues with Address Sanitizer
- From: Tobias Mueller <muelli cryptobitch de>
- To: Michael Catanzaro <mcatanzaro gnome org>
- Cc: desktop-devel-list gnome org
- Subject: Re: Testing for memory safety issues with Address Sanitizer
- Date: Wed, 21 Sep 2016 16:14:47 +0200
Hi.
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/libasan.so worked for me.
Cheers,
Tobi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]