Re: Memory leak detectors



MrDev <MrDev4@xxxxxxxxx> wrote:
Anyone know of any good free unix compatible C libraries that provide
memory leak protection?

A few that come to mind:

Valgrind: http://valgrind.org/ (tip!)
ElectricFence: http://perens.com/FreeSoftware/ElectricFence/
glibc: http://www.gnu.org/software/libc/manual/html_node/Allocation-Debugging.html


--
:wq
^X^Cy^K^X^C^C^C^C
.



Relevant Pages

  • Re: Is there any good hash library in c/c++?
    ... "Zhiqiang Ye" writes: ... You can use that if you don't mind that your code will only work ... with glibc. ... int main{char p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.\ ...
    (comp.lang.c)
  • Re: [SLE] trying to track down a memory-leak
    ... Pieter Hulshoff wrote: ... >> Any suggestions on how to debug this or do I just take it straight to lkml? ... > Valgrind comes to mind. ... I'd completely forgotten about valgrind. ...
    (SuSE)