memory leak detection

  • Anonymous - 2002-12-11

    does anybody know, if it is possible to use cppunit or any extension to cppunit to detect memory leaks.

    Thanks in advance for any answer,

    • Public Name

      Public Name - 2002-12-15

      We use CppUnit together with Rational's Purify.

      Most of the additional logic is in the build system and an execution-wrapper. The build system has an additional target to build a test program and instrument it for use with Purify. The wrapper runs the binary, requesting text-output from Purify (not using the GUI), and the output is diffed against an expected output.

    • Tarjei Knapstad

      Tarjei Knapstad - 2003-02-19

      Have a look at Valgrind if you're on linux:


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks