9 thoughts on “valgrind memory checker for for mingw windows

  1. Alex

    After a few days of searching: http://www.softwareverify.com/cpp/memory/index.html
    just make sure you compile with: “gcc -gstabs1”
    I know it’s not free but if you really need it take it, I wasted a lot of time with all the solutions above and more. This one worked and it’s really really easy to install & use:
    a. add “-gstabs1” (gcc -gstabs1) / compile/link (ofc)
    b. install
    c. enjoy

  2. rogerdpack Post author

    I noticed gcc 4.8+ have some new built-in memory corruption tools [IIRC]. You just pass them as command line parameters to gcc at compile time.

Leave a Reply

Your email address will not be published. Required fields are marked *