Re: ASan/LSan with a custom allocator

2017-07-27 Thread Kuba Mracek
I think the usual solution is to have an option in the program to disable the custom allocator and use system malloc/free instead, and run ASan/LSan in this mode. Far from ideal, but seems to work well in practice. Does that not fit in your scenario? Kuba > On 27 Jul 2017, at 13:42, Francis

ASan/LSan with a custom allocator

2017-07-27 Thread Francis Ricci
Hi all, Is there currently a good way to run ASan/LSan on a program using a custom allocator (for example, tcmalloc)? I couldn't find any solutions in the current code other than manually adding some extra interceptors locally (in the tcmalloc case those would be things like tc_malloc and