{"id":51,"date":"2009-10-16T16:55:49","date_gmt":"2009-10-16T15:55:49","guid":{"rendered":"http:\/\/slack.codemaniacs.com\/blog\/?p=51"},"modified":"2009-11-04T16:40:30","modified_gmt":"2009-11-04T15:40:30","slug":"valgrind-tracking-the-origin-of-undefined-values","status":"publish","type":"post","link":"https:\/\/slack.codemaniacs.com\/blog\/2009\/10\/16\/valgrind-tracking-the-origin-of-undefined-values\/","title":{"rendered":"Valgrind: tracking the origin of undefined values"},"content":{"rendered":"<p>Today I was wondering if one of those warnings about uninitialized values was located in library code or in my own code, and I noticed a new message in Valgrind&#8217;s output:<\/p>\n<pre>\r\nUse \u00e2\u20ac\u201ctrack-origins=yes to see where uninitialised values come from\r\n<\/pre>\n<p>This feature was first added to Valgrind 3.4.0 back in January, and it&#8217;s great! I wish I had known it before, because it would have spent me a few headaches in the past months, so I decided to write it here just in case I can help someone :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I was wondering if one of those warnings about uninitialized values was located in library code or in my own code, and I noticed a new message in Valgrind&#8217;s output: Use \u00e2\u20ac\u201ctrack-origins=yes to see where uninitialised values come from This feature was first added to Valgrind 3.4.0 back in January, and it&#8217;s great! I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,11],"tags":[],"_links":{"self":[{"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/posts\/51"}],"collection":[{"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":2,"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":59,"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions\/59"}],"wp:attachment":[{"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/slack.codemaniacs.com\/blog\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}