kasan (was Re: svn commit: r282948 - head/lib/libthr/thread)

Pedro Giffuni pfg at FreeBSD.org
Sat May 16 19:32:43 UTC 2015


> Il giorno 16/mag/2015, alle ore 14:01, Bryan Drewery <bdrewery at freebsd.org> ha scritto:
> 
> On 5/16/2015 12:31 PM, Pedro Giffuni wrote:
>> FWIW, and somewhat off-topic ...
>> 
>> On 05/16/15 11:40, Bryan Drewery wrote:
>>> ...
>>> Modified:
>>>   head/lib/libthr/thread/thr_spec.c
>>> 
>>> Thank you for this!
>>> 
>>> I have a lot of patches at Isilon for adding a libc cleanup function to
>>> free all caching, for use in memory leak detectors such as valgrind. I
>>> even fixed valgrind to utilize it.
>> 
>> Valgrind is good but it would be nicer to have the
>> Kernel AddressSANitizer:
>> 
>> https://github.com/google/kasan/wiki
>> 
> 
> Doesn't memguard(9) basically do this? I don't like that memguard is so
> limited in its scope but it seems to be for this.
> 
> 

Somewhat, but this one is based on the Google Address Sanitizer
(the userland version is already supported in FreeBSD).

It is compiler assisted and it compares favorably to Valgrind
plus it also has an interesting record already.

There are several talks about it in youtube, for example:

https://youtu.be/capbD_aRz40 <https://youtu.be/capbD_aRz40> (audio is poor the first half)

https://youtu.be/Q2C2lP8_tNE <https://youtu.be/Q2C2lP8_tNE>

Pedro.




More information about the svn-src-head mailing list