Re: Valgrind alternative?
Re: Valgrind alternative?
- Subject: Re: Valgrind alternative?
- From: Brian Bergstrand <email@hidden>
- Date: Tue, 2 Sep 2008 15:27:37 +0300
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.
On Sep 2, 2008, at 2:09 PM, Jesus wrote:
I think scan-build is not a good alternative. I am looking for
something like:
apple-valgrind-app my-exec [my options]
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 ..
Thank you,
On Tue, Sep 2, 2008 at 12:45 PM, Brian Bergstrand <email@hidden
> wrote:
Apple has its own static analyzer from the LLVM project. CLANG:
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 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.
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden