purify

Rational Purify failng to jump to memory leaks.

So my company uses a delightfully buggy program called Rational Purify (as a plugin to Microsoft Visual Developer Studio) to manage memory leaks. The program is deigned to let you click on a memory leak after you have encountered it, and then jump to the line that the leak occurs on. Unfortunately Purify is malfunctioning and Purify wi...

64 bit tools like BoundsChecker & Purify

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 applica...

Rational Purify - when tried to Run a program from Purify; error displayed as "Failed to delay loadlibrary mscorlibl.dll"

Rational Purify - when tried to Run a program from Purify; error displayed as "Failed to delay loadlibrary mscorlibl.dll" Here are the steps that I followed: 1. File > Run --- given the program name path 2. Tried with giving source path and without But either ways I am getting this error. Any help here is greatly appreciated. Thanks, ...

Rational/IBM PurifyPlus and Hoard on Solaris

Any attempts to use Rational/IBM PurifyPlus (Purify or Quantify) on an executable that's linked with the Hoard memory manager results in an immediate SIGSEGV: 0004dcd0 ???????? (f78d4, b, 0, 1, 230f, b) 0002aca0 pure_signal_handler_wrapper (b, ffbff808, ffbff550, fd932000, fdbf91c0, 0) + 740 fdab7188 memcpy (febd1860, 3d0, ff360530, f...

Handling COR dump issue with purify

Hi all, I an instrumenting a C++application using IBM purify and I get the issue COR dump and my program aborts although when run from terminal it runs fine. Can anyone tell me what is this COR dump and how to handle with it? Platform: RHEL 64bit Thanx, ...

How can I know if an executable was incrementally linked or not ?

I'm trying to use Purify 6 to analyze a memory corruption in one of our executables built with VC++ 2003 (7.1). When I instrument the binary with the command: purify /Replace=yes /Run=no myprog.exe The instrumentation aborts telling me the executable was incrementally linked. Puzzled, I checked the build options but /INCREMENTAL:NO w...

Valgrind vs Purify

Which one is better on Linux? Valgrind or Purify What is your opinion of using them? ...

Is my anti XSS method OK for allowing user HTML in PHP?

I am working on finding a good way to make user submitted data, in this case allow HTML and have it be as safe and fast as I can. I know EVERY SINGLE PERSON on this site seems to think http://htmlpurifier.org is the answer here. I do agree partially. htmlpurifier has the best open source code out there for filtering user submitted H...

How to integrate Purify into Hudson CI?

Hello everybody! I have a Hudson CI system set up and for the moment it is used for building a project and running some unit tests. My next step is to integrate the memory leak detector Purify into the build cycle. Now I want to start the unit tests also inside purify and for this I have created a new batch task which runs following com...

How to avoid the following purify detected memory leak in C++?

Hi, I am getting the following memory leak.Its being probably caused by std::string. how can i avoid it? PLK: 23 bytes potentially leaked at 0xeb68278 * Suppressed in /vobs/ubtssw_brrm/test/testcases/.purify [line 3] * This memory was allocated from: malloc [/vobs/ubtssw_brrm/test/test_build/linux-x86/rtlib.o] ...

Purify's Uninit Memory Read (UMR) on class/structure padding

I experience quite annoying side-effect of class/structure padding with Purify. E.g. struct something { int field1; char field2; }; /* ... */ struct something smth, smth2; smth.field1 = 1; smth.field2 = 'A'; smth2 = smth; The last line would highly likely trigger UMR warning saying that 3 bytes of initialized memory are acc...