[cfe-dev] [RFC] automatic variable initialization

Sean McBride via cfe-dev cfe-dev at lists.llvm.org
Tue Nov 27 10:43:41 PST 2018


On Tue, 27 Nov 2018 10:19:03 -0800, Kostya Serebryany via cfe-dev said:

>One more data point: among the bugs found by MSAN in Chrome over the past
>few years 449 were uninitialized heap and 295 were uninitialized stack.
>So, the proposed functionality would prevent ~40% (i.e. quite a bit!) of
>all UUMs in software like Chrome.

I just lurk here, but I think the proposed functionality would be greatly appreciated by C/C++/Obj-C developers on macOS, where MemorySanitizer is not supported and valgrind can't even launch TextEdit.  If I'm not mistaken, it would be the *only* tool on macOS to catch UUMs. 

Cheers,

Sean





More information about the cfe-dev mailing list