{"id":61,"date":"2009-03-12T06:49:50","date_gmt":"2009-03-11T19:49:50","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=61"},"modified":"2009-03-12T06:49:50","modified_gmt":"2009-03-11T19:49:50","slug":"valgrind-on-iphone","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2009\/03\/12\/valgrind-on-iphone\/","title":{"rendered":"Valgrind on iPhone"},"content":{"rendered":"<p>With Valgrind now working reasonably well on Darwin, it&#8217;s possible to run Valgrind on an iPhone. Well, not directly on an iPhone, because the Darwin port doesn&#8217;t work on ARM, but you  can run Valgrind on x86 binaries built against the iPhone Simulator SDK.<\/p>\n<p>However, it&#8217;s a little tricky, because you can&#8217;t run Valgrind from the command line in this environment.\u00a0 Landon Fuller explains <a href=\"http:\/\/landonf.bikemonkey.org\/code\/iphone\/iPhone_Simulator_Valgrind.20081224.html\">here<\/a> the small hack that is required to get around this limitation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With Valgrind now working reasonably well on Darwin, it&#8217;s possible to run Valgrind on an iPhone. Well, not directly on an iPhone, because the Darwin port doesn&#8217;t work on ARM, but you can run Valgrind on x86 binaries built against the iPhone Simulator SDK. However, it&#8217;s a little tricky, because you can&#8217;t run Valgrind from [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[487,484],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/61"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}