Using Insure++ at SLAC
Insure++ is a commercial C/C++ developer's tool specifically designed to help detect misuses of memory. This product can, for example, detect dangling pointers and array overruns. Stanford/SLAC currently has a site-license for running this software and it
operates on all BABAR-supported platforms. This page provides a mini-reference for getting started with Insure++.
Users of Insure++ may be interested in a companion program, CodeWizard.
Note that this page refers to Insure++ version 4.1 . To get it type the following...
source $BFROOT/package/ParaSoft/test/parasoft.csh
Last edit: 20 Aug 1998
All relevant documentation for setting up, configuring, running and interpreting the output of Insure++ is available on-line in both html and PostScript formats.
- Make the necessary Insure++ executables and man pages visible to your login session. For example, execute the following script or put it into your
~/.cshrc file. This example is only for csh or tcsh users.
$ source $BFROOT/package/ParaSoft/current/parasoft.csh
- Create an Insure++ configuration file. Save the contents of this example file in your personal $HOME/.psrc. This is your
primary configuration file. You may override the settings in this file on a directory-by-directory basis by simply providing a secondary configuration file which has the same name,
.psrc, with those new settings you wish to override.
Note that configurations for both Insure++ and CodeWizard are saved in the same file; if you already have such a file, then you may want to combine the contents of the example with what you already have.
- Also note that Insure++ comes with a nice interactive GUI for interpreting your error reports. This GUI is highly recommended. Following is a complete .psrc file. I recommend that you simply copy and paste the following .psrc file into a blank .psrc
and use that as your .psrc file.
Memory Leak Page
Insure Home Page
[Top of the Page]
|