Visible to Intel only — GUID: GUID-6B9D3188-B62C-4FA6-808B-EE915CECD9A3
Visible to Intel only — GUID: GUID-6B9D3188-B62C-4FA6-808B-EE915CECD9A3
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 the Intel Inspector command line interface, use the convert-suppression-file action to convert an IBM Rational Purify* or Valgrind* suppression file to the Intel Inspector suppression file format. Save the converted file to the default suppression directory for the project. Use the default .sup extension.
In the Intel Inspector GUI, in the Target tab of the Project Properties dialog box, set Suppressions to Apply suppressions.
Open an existing result for the project (collected using the Intel Inspector GUI or command line interface).
Outcome: In the Code Locations and Problems panes, the Intel Inspector marks (strikes through) all result data potentially impacted 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 the Intel Inspector GUI or command line interface.
Outcome: The Intel Inspector does not collect result data impacted by suppression rules in the converted file and the rules in other files and directories identified in the Suppressions tab of the Project Properties dialog box.
Apply the Converted File to a New Result
In the Intel Inspector command line interface, use the convert-suppression-file action to convert an IBM Rational Purify* or Valgrind* suppression file to the Intel Inspector suppression file format. Save the converted file to the default suppression directory for the project. Use the default .sup extension.
In the Intel Inspector GUI, in the Target tab of the Project Properties dialog box, set Suppressions to Apply suppressions.
Run a new analysis using the Intel Inspector GUI or command line interface.
Outcome: The Intel Inspector does not collect result data impacted by suppression rules in the converted file and the rules in other files and directories identified in the Suppressions tab of the Project Properties dialog 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.