Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Querstion on Insure++ suppression

LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in Insure++
Problem:
When testing his application I get lots of errors reported from libXt.so library (one of X Window System graphical libraries, I'm on Linux). There are so many of these messages that I have hard time sifting through them to find the errors reported in my code.

Question:
Is there a way to suppress violations/errors reported by Insure++ in libXt.so library (or for any specific library for that matter).

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Since there is a very definate naming convention used for the Xt functions you can add a .psrc file option like

    insure++.suppress all { * Xt* * }

    that will work to suppress any runtime error message from the Xt* methods. This would strictly suppress the runtime messages though and would not suppress them from the leak summary to suppress them from the leak summary you would want to use an option like

    insure++.leaksummaryfilter -! * Xt* *