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

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

Post just about everything that isn't directly related to Spring here!

Moderator: Moderators

Post Reply
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

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

Post 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.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

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

Post 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/
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

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

Post 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.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

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

Post by gajop »

Maybe check the second answer here: http://stackoverflow.com/questions/4134 ... or-windows
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

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

Post by Silentwings »

Valgrind definatly supports mingw64
That.
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

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

Post 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.
User avatar
albator
Posts: 866
Joined: 14 Jan 2009, 14:20

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

Post 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
Post Reply

Return to “Off Topic Discussion”