site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Sep 2, 2008, at 2:09 PM, Jesus wrote: apple-valgrind-app my-exec [my options] Thank you, http://clang.llvm.org/StaticAnalysisUsage.html Works pretty well on the few apps I've run it on. On Sep 2, 2008, at 1:11 PM, Jesus wrote: I have also read that someone has ported valgrind: http://www.squarefree.com/2007/09/19/valgrind-coming-to-mac/ : Is that true? Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... It's been almost a year since that blog post and 10 months since Leopard was released. You asked for alternatives and for now it looks like CLANG is as close as you can get. I think scan-build is not a good alternative. I am looking for something like: and then to get a report with all the memory leaks, all the buffer over-flow, etc. It is not just a leak detector, it also informs you the line of code where something wrong happend, where the memory was reserved, what kind of violation, etc .. On Tue, Sep 2, 2008 at 12:45 PM, Brian Bergstrand <brian@classicalguitar.net
wrote:
Apple has its own static analyzer from the LLVM project. CLANG: I read some old posts about valgrind. It seems that Apple is not interested in porting this application and it is also difficult to port by the valgrind team. Is there any sensible alternative to find memory leak, or memory corruptions, etc for console applications? Instruments and Shark do not fit properly for this purpose. This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Bergstrand