<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Eliminating undefined values with Valgrind, the easy way</title>
	<atom:link href="http://blog.mozilla.com/nnethercote/2009/02/27/eliminating-undefined-values-with-valgrind-the-easy-way/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/nnethercote/2009/02/27/eliminating-undefined-values-with-valgrind-the-easy-way/</link>
	<description></description>
	<lastBuildDate>Mon, 13 Feb 2012 14:54:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: pinotree</title>
		<link>http://blog.mozilla.com/nnethercote/2009/02/27/eliminating-undefined-values-with-valgrind-the-easy-way/comment-page-1/#comment-34</link>
		<dc:creator>pinotree</dc:creator>
		<pubDate>Sun, 01 Mar 2009 14:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=42#comment-34</guid>
		<description>&gt;  And just think, if C++ warned about fields uninitialised by constructors,

I think adding -Weffc++ to the CXXFLAGS should help about that.</description>
		<content:encoded><![CDATA[<p>&gt;  And just think, if C++ warned about fields uninitialised by constructors,</p>
<p>I think adding -Weffc++ to the CXXFLAGS should help about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Snark</title>
		<link>http://blog.mozilla.com/nnethercote/2009/02/27/eliminating-undefined-values-with-valgrind-the-easy-way/comment-page-1/#comment-33</link>
		<dc:creator>Snark</dc:creator>
		<pubDate>Sun, 01 Mar 2009 09:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=42#comment-33</guid>
		<description>The valgrind I&#039;m using already advertizes the --track-origin feature in the error summary :
==13541== Use --track-origins=yes to see where uninitialised values come from</description>
		<content:encoded><![CDATA[<p>The valgrind I&#8217;m using already advertizes the &#8211;track-origin feature in the error summary :<br />
==13541== Use &#8211;track-origins=yes to see where uninitialised values come from</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik</title>
		<link>http://blog.mozilla.com/nnethercote/2009/02/27/eliminating-undefined-values-with-valgrind-the-easy-way/comment-page-1/#comment-32</link>
		<dc:creator>Nik</dc:creator>
		<pubDate>Sun, 01 Mar 2009 04:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=42#comment-32</guid>
		<description>Jesse, --track-origins is advertised at the end if you have any undefinedness warnings:

==9370== Memcheck, a memory error detector.
==9370== Copyright (C) 2002-2008, and GNU GPL&#039;d, by Julian Seward et al.
==9370== Using LibVEX rev 1668, a library for dynamic binary translation.
==9370== Copyright (C) 2004-2008, and GNU GPL&#039;d, by OpenWorks LLP.
==9370== Using valgrind-3.5.0.SVN, a dynamic binary instrumentation framework.
==9370== Copyright (C) 2000-2008, and GNU GPL&#039;d, by Julian Seward et al.
==9370== For more details, rerun with: -v
==9370==
==9370== Conditional jump or move depends on uninitialised value(s)
==9370==    at 0x40056A: main (badloop.c:12)
==9370==
==9370== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 8 from 1)
==9370== malloc/free: in use at exit: 0 bytes in 0 blocks.
==9370== malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
==9370== For counts of detected errors, rerun with: -v
==9370== Use --track-origins=yes to see where uninitialised values come from
==9370== All heap blocks were freed -- no leaks are possible.

We could do it for every undefinedness warning, but there&#039;s a trade-off between user education and obnoxiousness :)</description>
		<content:encoded><![CDATA[<p>Jesse, &#8211;track-origins is advertised at the end if you have any undefinedness warnings:</p>
<p>==9370== Memcheck, a memory error detector.<br />
==9370== Copyright (C) 2002-2008, and GNU GPL&#8217;d, by Julian Seward et al.<br />
==9370== Using LibVEX rev 1668, a library for dynamic binary translation.<br />
==9370== Copyright (C) 2004-2008, and GNU GPL&#8217;d, by OpenWorks LLP.<br />
==9370== Using valgrind-3.5.0.SVN, a dynamic binary instrumentation framework.<br />
==9370== Copyright (C) 2000-2008, and GNU GPL&#8217;d, by Julian Seward et al.<br />
==9370== For more details, rerun with: -v<br />
==9370==<br />
==9370== Conditional jump or move depends on uninitialised value(s)<br />
==9370==    at 0x40056A: main (badloop.c:12)<br />
==9370==<br />
==9370== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 8 from 1)<br />
==9370== malloc/free: in use at exit: 0 bytes in 0 blocks.<br />
==9370== malloc/free: 0 allocs, 0 frees, 0 bytes allocated.<br />
==9370== For counts of detected errors, rerun with: -v<br />
==9370== Use &#8211;track-origins=yes to see where uninitialised values come from<br />
==9370== All heap blocks were freed &#8212; no leaks are possible.</p>
<p>We could do it for every undefinedness warning, but there&#8217;s a trade-off between user education and obnoxiousness <img src='http://blog.mozilla.com/nnethercote/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Ruderman</title>
		<link>http://blog.mozilla.com/nnethercote/2009/02/27/eliminating-undefined-values-with-valgrind-the-easy-way/comment-page-1/#comment-31</link>
		<dc:creator>Jesse Ruderman</dc:creator>
		<pubDate>Sat, 28 Feb 2009 08:24:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=42#comment-31</guid>
		<description>Maybe the &quot;Conditional jump or move depends on uninitialised value(s)&quot; warning should advertise the --track-origins feature, in the same way the leak summary advertises the --leak-check feature.

It would be nice if the error message distinguished jumps from moves.</description>
		<content:encoded><![CDATA[<p>Maybe the &#8220;Conditional jump or move depends on uninitialised value(s)&#8221; warning should advertise the &#8211;track-origins feature, in the same way the leak summary advertises the &#8211;leak-check feature.</p>
<p>It would be nice if the error message distinguished jumps from moves.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin Smedberg</title>
		<link>http://blog.mozilla.com/nnethercote/2009/02/27/eliminating-undefined-values-with-valgrind-the-easy-way/comment-page-1/#comment-30</link>
		<dc:creator>Benjamin Smedberg</dc:creator>
		<pubDate>Fri, 27 Feb 2009 13:55:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=42#comment-30</guid>
		<description>We can very easily generate warnings about uninitialized fields in constructors using our static analysis toolchain. Feel free to file a bug.</description>
		<content:encoded><![CDATA[<p>We can very easily generate warnings about uninitialized fields in constructors using our static analysis toolchain. Feel free to file a bug.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

