Search

ParaSoft

HOME
PRODUCTS
SUPPORT
ABOUT
WHAT'S NEW
EVENTS


Insure++

Quick facts

Add-on Modules:
   -INUSE
   -TCA

Comparisons

Technical Papers

Support & Manuals

FAQs

Recent Reviews

User Testimonials

Press Releases


Insure tool to debug c++





Multiply defined stdlib functions


By default, Insure links in its own versions of various stdlib functions (see the list below). These versions have additional checking built in which helps Insure detect errors in code which was not compiled with Insure. These functions may collide with those in libc.a, resulting in multiply-defined symbols, which will cause linking to fail on some platforms.

The solution is to add the option

  insure++.stdlib_replace off
to your .psrc file and link your program again.

Since these functions are not used to detect errors in code that was compiled with Insure (interfaces are), you will not notice any difference in error detection if you are compiling all of your code with Insure.

The functions defined in Insure's stdlib replacement library are:

bcmp	bcopy	bzero	index	memccpy	memchr	memcmp	memcpy	memset

rindex strcat strchr strcmp strcpy strcspn strdup strlen strncat

strncmp strncpy strpbrk strrchr strspn strtok


For more information . call (888) 305-0041, fax (626)305-9048, or email quality@parasoft.com

Tools to debug c++ and java
(888) 305-0041 info@parasoft.com Copyright © 1996-2001 ParaSoft