Page 1 of 1
Memory Analyzer
Posted: Tue Sep 10, 2013 6:46 am
by Kortath
What would you all recommend as a good Memory Analyzer to check your OS kernel file ? I have seen many out there, but I really hadn't seen one that stands out above the rest. I am wanting to verify leaks in the kernel file. I am wanting to make sure its solid.
Re: Memory Analyzer
Posted: Wed Sep 11, 2013 8:25 am
by dozniak
Since this is a kernel land, you'll have to make your own logging memory allocator(s).
Re: Memory Analyzer
Posted: Wed Sep 11, 2013 3:09 pm
by Kortath
dozniak wrote:Since this is a kernel land, you'll have to make your own logging memory allocator(s).
Yea I was afraid of that. I was looking for the "quick fix". I should know better then that. Thanks for the reply.
Re: Memory Analyzer
Posted: Wed Sep 11, 2013 10:33 pm
by dozniak
Kortath wrote:Yea I was afraid of that. I was looking for the "quick fix". I should know better then that. Thanks for the reply.
If you want to do a little bit of ahead-of-time analysis, then look into "static code analyzer" like clang static-analyzer, PVS-Studio or Coverity. They are able to spot most logic errors in memory management before you even run your code.
It isn't a panacea, but very useful debugging tool anyway.
Re: Memory Analyzer
Posted: Thu Sep 12, 2013 5:48 am
by Kortath
dozniak wrote:Kortath wrote:Yea I was afraid of that. I was looking for the "quick fix". I should know better then that. Thanks for the reply.
If you want to do a little bit of ahead-of-time analysis, then look into "static code analyzer" like clang static-analyzer, PVS-Studio or Coverity. They are able to spot most logic errors in memory management before you even run your code.
It isn't a panacea, but very useful debugging tool anyway.
Haha, goddess of healing. I love it.
Yea I have heard of coverity, never tried it. Static Code Analyzer. That sounds more like what I am after. Cool beans !!