Current-Users archive

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

Re: Finding memory bugs automatically



On Sun, Oct 02, 2022 at 12:28:41AM +0200, Roland Illig wrote:
> Hi,
> 
> Do any of the releng builds and tests run with MALLOC_CONF=junk:true?

No.

> If not, why isn't there such a mode, and is there an alternative memory
> allocator that can find these kinds of bugs?

Using COPTS -fsanitize=address is a good way to find memory bugs, but
it turns off ASLR, only works on a few architectures and causes a quite heavy
performance impact.

Martin


Home | Main Index | Thread Index | Old Index