Re: [gentoo-dev] Creating a Gentoo built with Address Sanitizer

2015-07-02 Thread Anthony G. Basile
On 7/2/15 9:12 AM, Hanno Böck wrote: Hi, Such a system could also be interesting as a high security linux variant not vulnerable to common buffer overflows and other memory errors. It is slower, but that may be acceptable. (However it should be said that right now asan is incompatible with grse

Re: [gentoo-dev] Creating a Gentoo built with Address Sanitizer

2015-07-02 Thread Kristian Fiskerstrand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07/02/2015 03:12 PM, Hanno Böck wrote: > Hi, > Hi Hanno, this sounds great! .. > > For now I just wanted to announce that I'm working on this, so > people who care can get in touch with me. I'll probably write a > detailed blog post at some po

[gentoo-dev] Creating a Gentoo built with Address Sanitizer

2015-07-02 Thread Hanno Böck
Hi, A quick intro for people who don't know address sanitizer (asan): It's a feature of gcc and clang adding bounds-checking to c (enabled with -fsanitize=address command line), which will cause applications to crash and throw an error if an invalid memory access happens. Very simple example: int