Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2015 14:26:52 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        Bryan Drewery <bdrewery@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: kasan (was Re: svn commit: r282948 - head/lib/libthr/thread)
Message-ID:  <A3A593E9-D284-4FCC-A1B3-33951B69CBB1@FreeBSD.org>
In-Reply-To: <55579417.4020508@FreeBSD.org>
References:  <201505150840.t4F8eHhM000804@svn.freebsd.org> <555772FA.2080408@FreeBSD.org> <55577F01.7030101@FreeBSD.org> <55579417.4020508@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Il giorno 16/mag/2015, alle ore 14:01, Bryan Drewery =
<bdrewery@freebsd.org> ha scritto:
>=20
> On 5/16/2015 12:31 PM, Pedro Giffuni wrote:
>> FWIW, and somewhat off-topic ...
>>=20
>> On 05/16/15 11:40, Bryan Drewery wrote:
>>> ...
>>> Modified:
>>>   head/lib/libthr/thread/thr_spec.c
>>>=20
>>> Thank you for this!
>>>=20
>>> 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.
>>=20
>> Valgrind is good but it would be nicer to have the
>> Kernel AddressSANitizer:
>>=20
>> https://github.com/google/kasan/wiki
>>=20
>=20
> 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.
>=20
>=20

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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A3A593E9-D284-4FCC-A1B3-33951B69CBB1>