Removing and editing suppressions

If you know the location of the .purify file containing the suppression, you can edit that file directly without starting the Viewer.

To remove or edit a suppression from the Viewer:

  1. Select Suppressed messages from the View menu to display the suppressed messages.

  2. Expand the suppressed message.

  3. Click the Edit button in the suppressed message. Purify opens the editor positioned at the line matching the suppression in the .purify file.

  4. Edit the .purify file. To remove the suppression, delete the line or add a # to comment out the suppression directive. For example:

    # suppress ABR _doprnt

  5. Save your changes and exit the editor.

  6. Select File > Re-read .purify files. Purify redisplays the message.

Temporarily unsuppressing messages

You can use the unsuppress directive to temporarily override a suppression in a .purify file. The last directive specified in the .purify file takes precedence over earlier directives. If the last directive that matches a particular message type and call chain is an unsuppress directive, Purify does not suppress the message.

Using the unsuppress directive

To use the unsuppress directive:

  1. Select Options > Suppressions. This opens the Suppressions dialog.

  2. Edit the suppression directive by changing the word suppress to unsuppress.

    Use the same syntax for the unsuppress directive as you use for the suppress directive. For example, adding

    unsuppress umc *


    to the ./.purify file unsuppresses all the UMC messages that are suppressed by default in <purifyhome>/.purify.

    You can also unsuppress a message in a specific function. For example, if you specify

    unsuppress umc this_func


    Purify displays all of the UMC messages that occur in this_func. All other suppressed messages remain suppressed.

For more information about syntax for specifying suppression directives in a .purify file, click

Avoid using the unsuppress directive to permanently remove suppressions. It clutters your .purify file.