Typical Suppressions Usage Models Using Third-party Suppression Files
There are two typical usage models for handling third-party suppression files in the
Intel Inspector
. They differ depending on how you want to confirm the effectiveness of the converted files:
- Apply the converted file to an existing result, check the resulting strikethrough marks, then hand-edit the converted file in a text editor as necessary.
- Apply the converted file to a new result, check the result for problems that should have but did not vanish, then hand-edit the converted file in a text editor as necessary.
Apply the Converted File to an Existing Result
- In theIntel Inspectorcommand line interface, use theconvert-suppression-fileaction to convert an IBM Rational Purify* or Valgrind* suppression file to theIntel Inspectorsuppression file format. Save the converted file to the default suppression directory for the project. Use the default.supextension.
- In theIntel InspectorGUI, in theTargettab of theProject Propertiesdialog box, setSuppressionstoApply suppressions.
- Open an existing result for the project (collected using theIntel InspectorGUI or command line interface).Outcome: In theCode LocationsandProblemspanes, theIntel Inspectormarks (strikes through) all result datapotentiallyimpacted by the rules in the converted file. (It may take some time for all marks to appear. The marks remain in the result even if you close and then reopen the result.)
- Review the marked data to assess the effectiveness and potential reach of the rules in the converted file. If necessary, edit the converted file in a text editor.
- Repeat steps 3 and 4 as necessary.
- Run a new analysis using theIntel InspectorGUI or command line interface.Outcome: TheIntel Inspectordoes not collect result data impacted by suppression rules in the converted file and the rules in other files and directories identified in theSuppressionstab of theProject Propertiesdialog box.
Apply the Converted File to a New Result
- In theIntel Inspectorcommand line interface, use theconvert-suppression-fileaction to convert an IBM Rational Purify* or Valgrind* suppression file to theIntel Inspectorsuppression file format. Save the converted file to the default suppression directory for the project. Use the default.supextension.
- In theIntel InspectorGUI, in theTargettab of theProject Propertiesdialog box, setSuppressionstoApply suppressions.
- Run a new analysis using theIntel InspectorGUI or command line interface.Outcome: TheIntel Inspectordoes not collect result data impacted by suppression rules in the converted file and the rules in other files and directories identified in theSuppressionstab of theProject Propertiesdialog box).
- Review the remaining problems in the result to assess the effectiveness and potential reach of the rules in the converted file. If necessary, edit the converted file in a text editor.
- Repeat steps 3 and 4 as necessary.