Page 1 of 1

Can't find any memory leak detection tools for mingw64.

Posted: 31 May 2015, 21:14
by Super Mario
Can't find any tools that supports 64 bit and is free. Much prefer if I don't have to modify my program to get the detection up and running.

Re: Can't find any memory leak detection tools for mingw64.

Posted: 31 May 2015, 23:50
by PicassoCT
Damn it- i had one, but cant remember the name. Ah yes, the adress sanitizer- but it only works with clang.
https://code.google.com/p/address-sanit ... indowsPort

http://www.drmemory.org/
works with everything but doesent detect bufferoverflows..

http://sourceforge.net/p/valgrind4win/w ... vironment/
Valgrind definatly supports mingw64

Not tested.. no idea if this is very usefull - for anything other then proofing that memory leaks exist:
http://winleak.sourceforge.net/

Re: Can't find any memory leak detection tools for mingw64.

Posted: 01 Jun 2015, 00:49
by Super Mario
PicassoCT wrote:Damn it- i had one, but cant remember the name. Ah yes, the adress sanitizer- but it only works with clang.
https://code.google.com/p/address-sanit ... indowsPort
Had already look into it, gcc supports it in 4.8, but I tried, it with my current installation and it seems it didn't install the library with it.
http://www.drmemory.org/
works with everything but doesent detect bufferoverflows..
It doesn't support 64 bit application.
http://sourceforge.net/p/valgrind4win/w ... vironment/
Valgrind definatly supports mingw64
Have you seen any activity on that page? Cause I sure don't. It seems that it hasn't been updated in a long time.
Not tested.. no idea if this is very usefull - for anything other then proofing that memory leaks exist:
http://winleak.sourceforge.net/
I don't want to take any risk.

Re: Can't find any memory leak detection tools for mingw64.

Posted: 01 Jun 2015, 04:40
by gajop
Maybe check the second answer here: http://stackoverflow.com/questions/4134 ... or-windows

Re: Can't find any memory leak detection tools for mingw64.

Posted: 01 Jun 2015, 08:31
by Silentwings
Valgrind definatly supports mingw64
That.

Re: Can't find any memory leak detection tools for mingw64.

Posted: 01 Jun 2015, 15:58
by Super Mario
gajop wrote:Maybe check the second answer here: http://stackoverflow.com/questions/4134 ... or-windows
Had already check it.
Silentwings wrote:
Valgrind definatly supports mingw64
That.
It doesn't support running on windows though, and they don't seem to be supporting it anytime soon.

Re: Can't find any memory leak detection tools for mingw64.

Posted: 02 Jun 2015, 14:30
by albator
Have you consider running a linux VM on windows ? I guess that is not a viable option if your code only is meant to run under windows...
Then valgrind ftw