SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Comp. Search
Who's who?
Meetings
FAQ Homepage
Archive
Environment
Administration
New User Info.
Web Info/Tools
Monitoring
Training
Tools & Utils
Programming
C++ Standard
SRT, AFS, CVS
QA and QC
Remedy
Histogramming
Operations
PromptReco
Simulation Production
Online SW
Dataflow
Detector Control
Evt Processing
Run Control
Calibration
Databases
Offline
Workbook
Coding Standards
Simulation
Reconstruction
Prompt Reco.
BaBar Grid
Data Distribution
Beta & BetaTools
Kanga & Root
Analysis Tools
RooFit Toolkit
Data Management
Data Quality
Event display
Event Browser
Code releases
Databases
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

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



Documentation

All relevant documentation for setting up, configuring, running and interpreting the output of Insure++ is available on-line in both html and PostScript formats.
  • Online Documentation for Insure++
  • Insure++ Frequently Asked Questions
  • Available architectures
  • IBM AIX v4
  • Sun Solaris v2
  • DEC Unix v4
  • HP HP-UX v10
  • Intel Linux
  • Common Insure++ commands (and onine man pages)
    insure
    Replacement command for compiling and linking
    ins_ld
    Link (only) a program with Insure++
    insra
    INSure++ Report Analyzer - GUI for investigating Insure++ output reports
    inuse
    Graphical dynamic memory activity display
    psrcdump
    List all current CodeWizard and Insure++ options in effect

  • Getting started

    1. 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
      
      
    2. 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.

    3. 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]