Bruno Haible <br...@clisp.org> writes:

> Sam James wrote:
>> I don't think this applies to gnulib, but it feels relevant enough for
>> me to mention it: for packages with their own allocator where they
>> retain a pool, it may be worth adding ASAN attributes/hooks.
>> 
>> Emacs did this a little while ago in
>> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=cb242bf1514ade34ab93b1db1ea7550093ae5839
>
> Interesting; I wasn't aware of that.
>
> It may be useful in the Gnulib module 'ssfmalloc'.

Now I learned two things today ;)

Valgrind has similar annotations available, by the way.

>
> Bruno


Reply via email to