Re: malloc: more info in error message for write-after-free with option D

2023-10-22 Thread Masato Asou
Hi, I wanted an extension to malloc() that would report the caller of all memory leaks. It works fine for me! ok asou@ -- ASOU Masato From: Otto Moerbeek Date: Tue, 10 Oct 2023 12:39:00 +0200 > Hi, > > This diff adds better error reporting for write-after-free or the more > general write of

malloc: more info in error message for write-after-free with option D

2023-10-10 Thread Otto Moerbeek
Hi, This diff adds better error reporting for write-after-free or the more general write of free memory if malloc option D is active. Knowing the place where allocations were done often helps to find out where the overwrite happened. If option D is active malloc now saves caller info in a separat