GNU Tool to find memory leak on windows [closed] - gcc

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I am trying to use the tools in the mingw toolkit, g++, gdb, gprof etc... but is there any way to detect memory leaks in gprof (the profiler) or gdb. I have heard that detecting leaks in gdb is possible in hp-unix, but for it isn't for windows. the reason I am trying to stick to gnu is because my computer has a 40GB hard that is already gunked programs pictures and videos. I have tried moving them to a seperate drive. and now that is running out of space... now both my hard disc and external drive are full. also the computer has an intel pentium 4 processer. so getting, for instance visual studio. is out of the question...
also it's sort of a moral thing... I hate when you search how to compile a library or something. and they just say: "compile it with visual c++", I hate that. so when I find all the tools I need in the gnu-toolkit. I feel like I can spit on visual c++ and go 'HAH'
I have heard of valgrind, but it's only for linux and mac. so in conclusion
ARE THERE ANY GNU TOOLS THAT CAN DETECT MEMORY LEAKS ON WINDOWS

You can use deleaker - is a powerful tool to control leaks of resources.
Goodluck!

Have a look at this http://wyw.dcweb.cn/leakage.htm

Related

Modern version of WinDiff? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
VB6 came with WinDiff.
Is there a free modern version of WinDiff available that is able to ignore case?
Along with WinMerge and the WinDiff from the latest SDK, I also have SourceGear's free DiffMerge.
I use WinMerge (which hasn't changed for a while either -- don't ignore blank lines; that exercises bugs) most, especially its ability to open two blank editable pages and you can paste anything, such as from a Remote Desktop to a machine that does not have any visual diff installed, and the differences automatically (or manually if you prefer) update.
DiffMerge's feature I like is its display of differences, which seems to cater for spuriously different line breaks better.
And, to answer your question, the WinDiff from the latest SDK (or at least the one included with Visual Studio 2010), WinMerge, and DiffMerge can all ignore case.
WinDiff is part of the Windows SDK, it still ships with it. But no, the SDK is targeted to programmers that write code in case-sensitive languages, C and C++.
The source code of WinDiff was once part of the SDK samples. You can still get it from this web page, assuming you're into hacking C code and have an old compiler laying around. You'll need to adapt line.c, the line_gethashcode() and line_compare() functions. Lower-casing the line is easiest.
Well, that was the programmer's answer. Plenty of other fish in the sea, Beyond Compare typically gets a lot of nods.

kcachegrind for windows [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there any tool, other than KCacheGrind, being able to view callgrind results? Preferably for Windows platform?
I have compiled kcachegrind on windows using QT4.7, here is the binary bundle (including the dot utility to generate call graph):
http://sourceforge.net/projects/precompiledbin/files/kcachegrind.zip/download
Try WebGrind: https://github.com/jokkedk/webgrind
Runs on your local PHP server. Be careful, use XDebug profiling with the XDEBUG_PROFILE flag or otherwise you'll risk overwriting your profiling output when you open WebGrind (Since WebGrind is also a PHP web application). The WebGrind website also details other approaches to work around this. Cheers.
You can try WinCacheGrind.
It seems that WinCacheGrind cannot open output of callgrind. I have not tried opening output of cachegrind, but it should work, I guess.
From the Valkyrie page, (as of date) "Currently, Valkyrie supports Memcheck only, although work is in progress to handle Cachegrind and Massif."
alleyoop and valkyrie (broken link) are alternative front ends.
May have enough suport for what you want, you can use mingw to compile for Windows native if SUA does not work out of the box.
There's a new project called XCallGraph for viewing cachegrind files on Windows.
I have tried these:
QCacheGrind
KCachegrind
WinCacheGrind
XCallGraph
They're very similar but differ in details. I can recommend the QCacheGrind which is the most feature packed and has also a graphical representation, which can help to identify problems much faster.

Any useful CASE tool for Mac OS X? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm a MAC user (not a fan :D) .. and I'm working these days on my graduation project in B.sc degree of Computer Science, and specifically I'm in the design phase. I've looked for CASE tools that should help me on my work, but unfortunately it seems there are no powerful CASE tools available!
could anyone suggest a good tool for me ?
Thanks in advance.
I would look at cross platform tools based on Java, specifically, tools which are based on the Eclipse platform. Eclipse runs really well on OS X, in fact, I believe it works even better than it does on Windows. Not all Eclipse-based tools will run on Mac (for example, Rational will not), but most will.
Look at the Eclipse Marketplace for some popular tools for UML, modeling, etc.
While this is likely to be closed as off-topic, you should see the other closed discussion or Apple's Visio replacement threads.
Summary is:
OmniGraffle for general, commercial diagramming.
Eclipse based tools, as most UML is for writing the bulky Java code.
Web based tools such as GenMyModel and Gliffy.
Any from the long list on Wikipedia.
As always, the exact needs you have will dictate your tool.

Is there a free shell service for Mac computers? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a shell where I can test shellscripts and a programs on a Mac.
What I'm looking for, is something like bshellz.net but with Apple computers (i.e. Macs). Is there such thing available?
I was googling for the last few days, but I couldn't find anything.
If you are developing a free software (open source) project, you might be able to request access to the GCC compile farm, which appears to include at least one Mac Mini.
If you're not developing free software, it might be harder to find people willing to donate their CPU and bandwidth to you for free, especially since Mac hardware tends to be a bit expensive and Mac OS X is difficult to virtualize unless you pay half a grand for Mac OS X Server. There seem to be a variety of places which offer colo or dedicated hosting for Mac Minis and XServes, but not a lot of people providing free or cheap shell accounts on shared servers.

Windows Callgrind results browser, alternative to KCacheGrind [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there any tool, other than KCacheGrind, being able to view callgrind results? Preferably for Windows platform?
I have compiled kcachegrind on windows using QT4.7, here is the binary bundle (including the dot utility to generate call graph):
http://sourceforge.net/projects/precompiledbin/files/kcachegrind.zip/download
Try WebGrind: https://github.com/jokkedk/webgrind
Runs on your local PHP server. Be careful, use XDebug profiling with the XDEBUG_PROFILE flag or otherwise you'll risk overwriting your profiling output when you open WebGrind (Since WebGrind is also a PHP web application). The WebGrind website also details other approaches to work around this. Cheers.
You can try WinCacheGrind.
It seems that WinCacheGrind cannot open output of callgrind. I have not tried opening output of cachegrind, but it should work, I guess.
From the Valkyrie page, (as of date) "Currently, Valkyrie supports Memcheck only, although work is in progress to handle Cachegrind and Massif."
alleyoop and valkyrie (broken link) are alternative front ends.
May have enough suport for what you want, you can use mingw to compile for Windows native if SUA does not work out of the box.
There's a new project called XCallGraph for viewing cachegrind files on Windows.
I have tried these:
QCacheGrind
KCachegrind
WinCacheGrind
XCallGraph
They're very similar but differ in details. I can recommend the QCacheGrind which is the most feature packed and has also a graphical representation, which can help to identify problems much faster.

Resources