How to use PURIFY to to debug/memory leaks/access errors tests on AIX and SOLARIS environments

AIX: 1. set the purify path

. /opt/pure/releases/PurifyPlus.7.0.0.0-002/purifyplus_setup.sh

2. take a debug build and create purify binary purify -selective mdsconverter
       here there are two cases to do above process.


  • You have to do it in test environment if build (compilation of debug ) and test environment both are in same machine. It avoids not loading duplicate loading errors like duplicate libraryloading.
  • If your test environment and build environment both are different then, purifying the debug binary in build environment  also not a problem.
3. set the DISPLAY

4. run the purify converter ./mdsconverter 1


SOLARIS: 1. Set the purify path
. /opt/pure/releases/PurifyPlus.7.0.0.0-002/purifyplus_setup.sh

it shld give purify binary path

2.take build with export SUN_CC='purify -g SUN_CC"

3. Run in testing env

No comments :

Post a Comment