Question

For many years I have used two great tools BoundsChecker & Purify, but the developers of these applications have let me down, they no longer put effort into maintaining them or developing them. We have corporate accounts with both companies, and they both tell me that they have no intention of producing versions to support 64 bit applications.

Can anyone recommend either open source or commercial alternatives that support 64 bit native C++/MFC applications?

No correct solution

OTHER TIPS

Viva64 (http://www.viva64.com/viva64-tool/) tool provides detection of errors typical of 64-bit Windows applications. Viva64 is a lint-like static analyzer of C/C++ code. Viva64 integrates into Visual Studio 2005/2008 environment and provides user-friendly interface to test your software projects.

Parasoft has a tool called Insure++ (link: http://www.parasoft.com/jsp/products/quick_facts.jsp?product=Insure) which says it'll do that.

I've used Insure++ on 32-bit and 64-bit apps on Linux and it worked okay. It sometimes got confused when it was trying to parse template/stl code and would fall over.

That url says it works on 32- and 64-bit windows, good luck!

BoundsChecker 9.01 now supports VC2008 and x64 bit, at last.

insure++ only workse if you instrument your code. I once tried it. It took about 5 minutes to compile about 1000 lines of code. Since the project that I needed to compile was huge, I quickly determined that Insure++ was not going to work.

Not to mention their reporting, or output from Insure++ is pretty archaic. also the runtime performance penalty was attrocious.

Note about boundschecker from numega/compuware/other_new_company: Don't buy it. It's only profiles 32 bit apps. It does NOT do 64 bit apps. It can be installed on a 64 bit OS though. I stopped using it years ago on our app. I do use it on CppUnit Tests though... sometimes.

In general I'm completely disgusted with all the native memory leak tools out there. They all don't work, or just lock up your application on shutdown.

FYI: BoundsChecker 10.0 runs on Windows XP through Windows 7, on both 32 and 64 bit versions. It supports WOW64 applications, and it also supports Visual Studio 2010. In fact, we released VS2010 support within 30 days of Microsoft's release.

We are catching up with our backlog. We were very late getting the VS2005 and VS2008 support out (with BC 9.0, Fall 2008), but there were a variety of reasons why this happened. The miracle was that we got it out at all.

BoundsChecker 10.5, when it comes out, should have some more goodies. Stay tuned.

Disclosure: I work for MicroFocus.

Intel(R) Parallel Inspector (http://software.intel.com/en-us/intel-parallel-inspector/) is a threading and memory-checking plugin tool to Microsoft* Visual Studio; it supports 32-bit and 64-bit C/C++ on Windows. It's a commercial application with a 30-day free evaluation.

Disclosure: I work for Intel.

I've used bounds checking and other dynamic analysis tools, and while the architectures are different it's the code that you're checking - in theory you could run bounds checking on any backend and the result would be the same - the code either steps outside its bounds or it does not.

The only complications are addressing more than 4GB of memory space, dealing with pieces of code you can't cross-compile to a 32-bit architecture (64 bit object files for which you have no source, etc), and general 64 bit migration issues (platform specific code such as checking for 0xFFFFFFFF instead of -1)

What other problems are you running into doing bounds checking on your program? Are you unable to compile a 32 bit version?

It's not your ideal solution, certainly, and one should always check the code they're going to run, but in this case you might not have a choice, unless you want to do your own bounds checking (which is a good idea in any case...).

-Adam

it is my understanding that BC 9.0 will support WOW64

Application verifier, for x64 and x86, detects heap corruption http://www.microsoft.com/download/en/details.aspx?id=20028

From IBM PurifyPlus support for 64-bit versions of Microsoft Windows:

Technote (FAQ)

Question

Is IBM Rational PurifyPlus supported on 64-bit versions of Microsoft Windows?

Cause

64-bit versions of Microsoft Windows are getting popular.

Answer

Beginning with version 7.0.1 iFix 003, PurifyPlus supports testing 64 bit applications on Windows.

More information about iFix 003 can be found in the following technote IBM Rational PurifyPlus for Windows v7.0.1.0-003

You install this version of Purify and you get a "Purify (for 64-bit applications)" entry in your start menu.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top