How can I create a filter file (.pft, .cft) for a specific module, such as a DLL? (Error Detection)

You can create a Purify error filter file (.pft) that contains error filters to filter data that originates from a specific module, whenever you Purify a program that uses that module. If you're collecting coverage data, you can also create a PureCoverage filter file (.cft) that contains corresponding coverage filters for coverage data.

For details about filter file names and their locations, click images\shortcut.gif.

To create a Purify error filter file:

1.    Run a program that includes the module under Purify.

2.    If a filter file already exists for the program (Exename_exe.pft), and you want to keep those filters, rename the file.

3.    Select the Error View for the program.

4.    Open the Filter Manager: Error Data dialog box.

5.    Deselect any filters that you do not want to use and click OK.

6.    Select any errors in the module for which you want to create a filter file.

7.    Select View > QuickFilter. Purify automatically saves the filter to the filter file Exename_exe.pft, where Exename is the name of the program you're checking.

8.    Rename Exename_exe.pft using the module's filename for Exename. For example, if you filtered data from MFC42.dll, rename the filter file MFC42_dll.pft.

To create a PureCoverage filter file:

1.    Run a program that includes the module under Purify, instructing Purify to collect coverage data.

2.    If a filter file already exists for the program (Exename_exe.cft), and you want to keep those filters, rename the file.

3.    Select a coverage tab for the program.

4.    Open the Filter Manager: Coverage Data dialog box.

5.    Deselect any filters in the Filter Manager tabs that you do not want to use, and click OK.

6.    In a coverage tab, select any source file or function in the module for which you want to create a filter file.

7.    Select View > QuickFilter. Purify automatically saves the filter to the filter file Exename_exe.cft, where Exename is the name of the program you're checking.

8.    Rename Exename_exe.cft using the module's filename for Exename. For example, if you filtered data from MFC42.dll, rename the filter file MFC42_dll.cft.

Note:

§      To use the filter file you renamed in Step 2 again, remember to change the name back to its original filename.

(C) Copyright IBM Corporation 1992, 2010.