bug-gnulib
[Top][All Lists]
Advanced

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

Re: stack-trace: Use libasan as an alternative to libbacktrace


From: Paul Eggert
Subject: Re: stack-trace: Use libasan as an alternative to libbacktrace
Date: Thu, 18 Jul 2024 06:28:01 -0700
User-agent: Mozilla Thunderbird

On 2024-07-18 04:21, Bruno Haible wrote:
on NetBSD 10.0, every program that links with libasan exits
without even reaching main(). It merely prints
"This sanitizer is not compatible with enabled ASLR"
to standard error and exits with status 0 (yes, 0 !!!).

If I understand things correctly a similar problem was also on FreeBSD with PIE and the bug wasn't fixed until November of last year:

https://github.com/llvm/llvm-project/commit/7440e4ed85aa992718d4b5ccd1c97724bc3bdd2c

It might also be worth looking into the other Die() calls in the latest sanitizer_linux.cpp:

https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]