-
Insure++ 2020 … change is coming
We've got something big in the works for 2020 … Insure++ is undergoing a major redesign. To get feedback and help customers get ahead of the changes, we are breaking the delivery into two phases; Phase 1: Insure 2020.1 Pre-Release (available June 2020) In phase 1 we are focused on support for the Windows platform. Gone are…
-
Undefined reference errors occurr when linking in Insure++ symbols in Ubuntu
In Ubuntu, linking errors with Insure++ (undefined references of Insure++ symbols, see examples below) are caused by a change in the default behavior of the linker from previous versions of Ubuntu. Error example: ".../Insure++/lib/libinsure.so: undefined reference to `Insure::Thread::startFunction()'" Explanation: This…
-
Before you ask a question
Guidelines about posting questionsIf you are using Insure++ and are running into some problem, please make sure you provide the following information at the beginning or end of your post: OS Architecture (x86, x64, etc.) Compiler Insure++ version If the problem is a compile/link time problem, include your compile/link…
-
How to create an Insure++ log file
This post will provide instructions for creating an Insure++ log file when debugging issues with Insure++. When you run into an issue with Insure++, whether it is displaying an Insure++ Violation or if the instrumentation failed for some reason, it is beneficial to create an Insure++ log file from the run to determine the…
-
Getting undeclared error for the variable which is already declared.
I have this piece of code to compile with insure++ static int ABC ( unsigned char *buffer, int buffer_size, int num, ) { memset(buffer, '\0', buffer_size); void* xyz = # memcpy(buffer, xyz, "ABCD"); '''' but after cmpilation, i get this error: " error: 'xyz' undeclared (first use in this function)" but it is already…
-
Insure++ 2023.1 Release Announcement
What's New * STL checking is now enabled for GCC-5 thru GCC-10. There are, however, some outstanding issues. STL checking is an extended and experimental feature of Insure++ which may be helpful in finding STL usage violations. See STL Checking in the User's Guide. * Several parser improvements. * Bug fixes. Known Issues…
-
Insure++ 2022.1 Release Announcement
What's New * Documentation updates. We've clarified some documentation issues, and added new documentation for some new features * CWE Associations. Insure++ bug reports are now associated with appropriate CWEs. (see cwe.mitre.org for more information about CWEs) * Bug fixes. As always, we are continually improving…
-
Insure++ does not support managed C++!
I have a C++ project that will only build for Insure++ with /CLR (common language runtime support switched on) However when this compiles the output states "Insure++ does not support managed C++! I cannot get the project to build unless /CLR is selected however, it will build when /CLR is not selected when building for…
-
Debugging a .dll with Insure++
You will need to debug the process in which that the dll actually runs. If you know the name of the executable that loads the dll, and can run that executable by hand, the simplest approach is to simply run that executable under InsureSpy.exe, inject.exe, or Visual Studio's debugger by clicking "Insure++ Debug" within…
-
error: 'ABCD' undeclared (first use in this function)
Hi, During compilation of some source in insure++, I am getting this error : "error: 'ABCD' undeclared (first use in this function)" I can compile it without insure++ and I am not getting this error. Is there any special rule to declare variables in in sure++? Thanks
-
Warning: unable to instrument "ABC.c"
During compilation of some sources with insure++, i get this warning: Warning: unable to instrument "ABC.c" (4), compiling original source code. I have no idea about why i am getting this warning.
-
WARNING: no debugging flags detected!! Insure++ may not function properly
I am compiling some sources with isure++ and i am getting this warning: WARNING: no debugging flags detected!! Insure++ may not function properly should i add some flags before compile?
-
Insure++ 7.4.6 & Win10
Is this "old" version supported by Windows 10 ? Thanks in advance
-
VS2017 help
Hi I am using VS2017 Professional and I have installed Parasoft C++ test v10.4.2 for visual studio, but after the installation the Parasoft still doesn't appear in the menu. what can be the reason for this? Thanks Sharon
-
Insure++ 7.5.1- Release_notes and Readme
The Release notes and Readme Files haven't updated for Insure++ 7.5.1(windows&linux). both files shows 7.4 information
-
Monitoring memory of child processes
Sometimes a project depends or starts another process to be executed as a dependency. You can instrument the applications with Insure++ and then run the main executable with Insure++ and still be able to have Insure++ detect memory leaks from the child process(s). By doing this, you can find memory leaks occurring when the…
-
Code coverage analysis in Insure++
Hi all, From what I read online, Insure++ is able to provide the code coverage analysis of the code by using the TCA View, but how do I generate the tca.log file?
-
Running Insure++ on command line
Hi all, I am rather new to insure++ and will like to check whether is it possible to run insure++ on a visual studio solution through the command line? If yes how should I go about doing it? Because now I am only aware of using the IDEs to run the insure++ test
-
Insure++ VS2017 Beta Build
The beta build of Insure++ for VS2017 (supporting Windows 10) is now available - please contact support@parasoft.com to get access to the beta.
-
Insure++ 7.5.1 Release (WIndows 10 support)
Insure++ 7.5.1 has been released and is now available for download via the customer portal. This release includes support for Windows 10, Fedora 26, Ubuntu 17 and Gentoo - as well as several parser updates and bug fixes (see release notes for details) Support for MSVC++-10.0, (VS 2010) is deprecated and will no longer be…
-
Visual Studio 2017 support
When is VS 2017 support planned? Is there a beta program?
-
Visual Studio 2012 support
is there an anticipated release date for a version that supports visual studio 2012 integration? Thank you
-
Do not use GCC-4.9 with Insure++
Insure++ needs to take the address of entities in order to track them. But, references cannot have their address taken, so Insure++ creates a shadow pointer variable pointing to the thing that is being referenced. It then does a normal pointer check against this shadow pointer. When using GCC-4.9, there is a known issue…
-
Cannot See Insure++ in VS as Non-Admin
For users who wish to install Insure++ versions 7.4.9 and below as Administrator, and users (without administrator rights) to use Insure++, please follow steps carefully to register Insure++ into Visual Studio: * Install Insure++ * Start Visual Studio * Load one of the example projects in the Insure++ installation…
-
Insra not able to appear on Ubuntu 16.04
This article provides steps to allow Insra to be used on Ubuntu 16.04. With recent versions of Ubuntu, they are no longer using a library that Insure++ uses to display the Insure++ Violations in Insra. To resolve this behavior, please perform the following in a terminal: sudo apt-get install libmotif-dev After the package…
-
Using Visual Studio 2015 with x64 and not able to find CL.exe
We have found that when using Visual Studio 2015 with Insure++ versions 7.4.10 and up that if you want to build your application as an 64 bit application, the build will fail because it was unable to find the CL.exe. This is happening because there was a change in how MSBuild works with x64 bit applications which is…
-
Unsupported boost lib versions for Insure++ 7.4/7.5
Insure++ is unable to function with projects which use boost lib versions 1.5x Typically seeing the message similar to the following: Unix/Signal.cc:527: panic: received signal 11 while in runtime @(#)GITid: Unix/Signal.cc d2a4ea9d1738e811690bbe377751f92f813 ThisThread.cc:857: abort @(#)GITid: ThisThread.cc…
-
How to understand error displayed by Insure++.
Is there any reference available to link observed error no pertaining to Insure++ with its probable reason and possible solution. I am having an error as "Unix/NativeFilestream.cc-------hexdecimal number-----Trace/breakpoint trap (core dump)" and not able to understand the reason. Details of machine a below:- OS - RHEL 6.6…
-
Visual Studio 2015 Support
Visual Studio 2015 supportIs there any roadmap for supporting visual Studio 2015?
-
Permissions Insure++ Needs to Run on Linux
If multiple users are sharing an installation of Insure++ on a single machine, they will need group permissions to fully use Insure++. Permission issues may show up in the form of license errors or access errors. If any users are experiencing insufficient permissions issues, please make sure they have the following…
-
Producing a Leak Summary from Insure++
This post explains how to force Insure++ to produce a Leak Summary from an application that is terminating before it is closed properly. If you find Insure was not able to close properly and provide a leak summary report of the executed instrumented code, we can force the tool to produce a leak summary report. This will…
-
Missing Insure++ symbols during linking?
Some versions of GCC and some distributions of linux, (Ubuntu has been observed but there may be others), have added a new linking heuristic, which causes insure++ linking to fail. The symptom will be something like this: insure gcc -g -o freenull freenull.c ** Insure messages will be written to insra **…
-
Installing 32-bit Insure++ on 64-bit Linux
The easiest, cleanest and best way to do this is: 1/ Download the Insure++ distribution package 2/ Change directories to where you want the installation to live 3/ Move the Insure++ distribution package there 4/ enter the command: "setarch i686" -- this will start a new shell, which will convince the installer that this is…
-
Windows Vista support
Does anyone have any experience trying to run Insure++ under Vista with VS2005 SP1? We are preparing for a major release for Vista and would like to know if Insure++ is non-function, semi-functional, or mostly-functional under Vista. Thank you!
-
make -j for simultaneous builds
Just checking if there is any reason the "make jobs" for simultaneous builds would not work when compiling under linux (2.6.9). It appears to build and run fine but I wanted to verify that we are not missing something. This greatly increases our rebuild times, increasing the usefulness of insure++. Thank You
-
Window 7 support
Just checking if there is any indication as to when Windows 7 will be officially supported? (following the official release of windows 7 I suppose!) Also checking if anyone has any experience running the latest version under Windows 7? Thank You
-
Windows 8 support
Is anyone running insure++ under windows 8, or know when this might be (un)officially supported? thank you
-
Using Insure++ as a non-Administrator on Windows
Using Insure++ as a non-AdministratorAs a member of the Administrators group, do the following: * Install Insure++ * Run Insure++ on one of the examples in C:\Program Files\Parasoft\Insure++\examples (e.g. editor_demo). This "warms up" a few files and directories. * Optionally enable user-specific options in the General…
-
Visual Studio 2010 Support
anticipated official supportIs there currently a timeline for official support of visual studio 2010 sp1? Thank you
-
Question about leak_search [on|off] in .psrc configuration
Insure++ configurationHi We run insure++ for memory leak checking in the following environment: OS : Linux 2.4.21-4.ELsmp #1 SMP Compiler : gcc 3.4.6 Insure++ : 7.1.6 We are confused as to what the option leak_search is doing internally. Having looked at this post http://forums.parasoft.com/lofiversion/index.php/t130.html…
-
Using LD_PRELOAD for a Java executable with Insure++
Hi, I am running insure++ for a java application. Because of the java executable that ignites my application isn't instrumented, i have to add to LD_PRELOAD insure specific libraries in order not to take runtime errors. My LD_PRELOAD looks like this:…
-
LINK : fatal error LNK1000: Internal error during IncrBuildImage
If you are using vc9 (Visual Studio 2008) see a popup titled "Microsoft Incremental Linker" that says: and in Visual Studio's Output Window you see: then you should read http://support.microsoft.com/kb/948127 , and use /INCREMENTAL:NO or apply the hotfix from Microsoft. The link error is a bug in link.exe, not a bug in…
-
Running into BAD_DECL with unknown file name
Dear Insure++ Experts, I am running into a BAD_DECL group of messages I can't interpret correctly They look like: [VNS.c:65] (Thread 0) **BAD_DECL** >> static IF_ERROR_MAP ErrorMap[MAX_RC] = Incompatible global declarations: ErrorMap Arrays have different type and dimension. Actual declaration : array of 3 elements,…
-
Strange Warning COPY_UNINIT_PTR
Using strerror(errno) in printf gives Warning Hi, we get a COPY_UNINIT_PTR warning for this piece of code: dprintf( ERRORS, "IDM -- Cannot create message queue [%s]. File %s. Key=%d\n", strerror(errno), datafile, msgkey ); The warning says: Copying uninitialized pointer: strerror(*__errno_location()) Stack trace where the…
-
Getting PARSE_ERRORS in BOOST headers
If you are using Insure++ with a Microsoft C++ compiler and getting parse errors in BOOST header files that look like this: BOOST_PP_REPEAT_FROM_TO(1, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), BOOST_PRIVATE_CTR_DEF, _ ) or anything containing BOOST_FUNCTION_COMMA with or without BOOST_FUNCTION_PARMS Then you are…
-
VS 2005 SP 1 prevents insdevenv from working
Visual Studio 2005 Service Pack 1 contains a bug that prevents any add-ins from loading for command line builds. This bug will prevent insdevenv.bat from instrumenting such builds. The problem is documented by Microsoft: http://support.microsoft.com/kb/934517 To get insdevenv.bat working, you can either: (a) uninstall…
-
Receiving BAD INTERFACE from Insure++
During Compilation, BAD INTERFACE pops up..It appears that BAD INTERFACE error occurs when I have a extern to a function: I have the following: Declaration conflicts with interface: syslog >> extern int syslog (int priority, char *fmt, ...); Please contact Parasoft support: support@parasoft.com another one: Declaration…
-
Installing on AIX 5
AIX 5 uses an environment variable: LDR_CNTRL to mange memory layouts. If you have this set, unset it, then install Insure++. Please see the following article for help understanding LDR_CNTRL: http://publib.boulder.ibm.com/infocenter/t...perftune113.htm --Rich
-
Insure++ Red Hat 7.1 pthread_create error: too many arguments in function
Issue: The “too many arguments in function call pthread_create”, PARSE_ERROR reported by Insure++ when building a threaded applications on Red Hat 7.1 using gcc 3.x Cause: If your operating system is Linux Red Hat 7.1 and you have recently upgraded your compiler to gcc 3.x, or above you may be experiencing this…
-
Deprecated options from Insure++ 7.1.X
The following options have been deprecated beginning with Insure++ version 7.1: Insure++.compiler_c Insure++.compiler_cpp Insure++.compiler_default These options have caused much confusion. Instead, the recommended way of invoking Insure++ instrumentation is to simply prepend "insure", to the front of your command line.…
-
Getting corrupted tca.log when files are merging
Is possible to merge tca.log files ?Hello, We are running many unit tests, each of them is a separated executable. They are run by a script one by one. Insure is merging tca.log files after each run, however, after some random spot we get report that tca.log file is corrupted and the merge fails. If we configure Insure to…
-
Building shared libraries with Insure++ under AIX
Building shared libraries with Insure++Building shared libraries with Insure++ under AIX: The Makefile below has been modified to build a shared library with Insure++. The foo.c and Foo.C source files are first compiled into an object (using insure), then linked into a shared object , and finally archived into the shared…
-
READ_DANGLING in C++ destructor
I have seen that several times I will receive a READ_DANGLING inside of a destructor while accessing class member variables. Is Insure++ marking the memory as deallocated as soon as it hits operator delete() but prior to the actual destructor call?
-
Support for Sun Studio 11 with Insure++
Insure for Sun Studio 11Could you please let me know if your latest version of the insure++ works with sun studio 11 (Solaris 2.8)