tech-userlevel archive

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

Re: Leak Sanitizer - how to suppress leaks



Kamil Rytarowski wrote:

> I can see the following solutions to suppress leaks:
>
>  1. use standard free(3)
>  2. use standard interfaces from LLVM/GCC sanitizers; potentially
> wrapping the interfaces in our headers
>  3. add libc functions to suppress leaks

4. fix the santisers and not unnecessarily clutter up our source code.
5. ignore silly reports from the santisers

for the free-just-before-exit cases?

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index