Intel® Inspector User Guide for Windows* OS

ID 767798
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Manage Suppression Rules

You can manage the suppression rules applied to each project during Intel Inspector analysis by:

NOTE:

To apply suppression rules during analysis, select the Apply Suppressions radio button on the Target tab of the Project Properties dialog box.

Open the Suppressions Tab of the Project Properties Dialog Box

  1. From the:

    • Visual Studio* menu, choose Project > Intel Inspector <version> Project Properties....

      NOTE:
      In Visual Studio* 2022, Intel Inspector provides lightweight integration. You can configure and compile your application and open the standalone Intel Inspector interface from the Visual Studio for further analysis. All your settings will be inherited by the standalone Intel Inspector project.
    • Standalone Intel Inspector GUI menu, choose File > Project Properties....

  2. In the Project Properties dialog box, choose the Suppressions tab.

Add a .sup File

  1. Click the Add File button.

  2. Browse to and choose a .sup file.

  3. Click the Open button.

Outcome: The Intel Inspector updates the rules in the Suppression rule list region accordingly.

Add a Directory That Contains (or Will Contain) .sup Files

  1. Click the Add Directory button.

  2. Do one of the following:

    • Browse to and choose an existing directory.

    • Create a new directory to which you plan to save .sup files.

  3. Click the OK button.

Outcome: The Intel Inspector:

  • Displays the path to a *.sup file mask in the Suppression files region.

  • Updates the rules in the Suppression rule list region accordingly.

NOTE:

Intel Inspector does not search recursively in directories for files identified by a *.sup mask.

Remove a .sup File or Directory Containing .sup Files

  1. Click a file or mask in the Suppression files region.

  2. Click the Remove button directly below the Suppressions files region.

Outcome: The Intel Inspector updates the rules in the Suppression rule list region accordingly.

NOTE:

  • Removing a file or directory does not delete the file or directory from your file system.

  • You cannot remove the project suppression directory.

Remove a Specific Rule

  1. Click a rule in the Suppression rule list region.

  2. If desired, click the View... button to view the stack frame(s) in the rule. When you are finished viewing, close the View Stack dialog box.

  3. Click the Remove button directly below the Suppression rule list region.

CAUTION:

Removing a rule from the list deletes the rule from your file system.