<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 27, 2018 at 10:43 AM Sean McBride <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 27 Nov 2018 10:19:03 -0800, Kostya Serebryany via cfe-dev said:<br>
<br>
>One more data point: among the bugs found by MSAN in Chrome over the past<br>
>few years 449 were uninitialized heap and 295 were uninitialized stack.<br>
>So, the proposed functionality would prevent ~40% (i.e. quite a bit!) of<br>
>all UUMs in software like Chrome.<br>
<br>
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. <br></blockquote><div><br></div><div>It won't catch anything -- but it will prevent the stack UUMs from hurting you in production. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
<br>
Sean<br>
<br>
<br>
</blockquote></div></div>