Building purify and quantify targets (Unix only)
SNiFF+ provides rules in the General Makefile for preparing targets for further analysis with PurifyTM and QuantifyTM from Rational Software. You can specify targets to be "purified" and "quantified" in the Other field of the Project Targets view.
To build a purify target
Enter the target name, followed by
.purify
, in the Other field of the Project Targets
view. For example, to build a purify target for the executable
filebrowser
, you would
enter
filebrowser.purify
.
Remove the hash (
#
) in the following line in the project's Makefile:
#PURIFY_TARGET=$(LINK_TARGET).purify
This activates SNiFF+'s Make rules for purifying targets.
Update the project's Make Support Files.
Build the target. The project's Make command (entered in the Make Command field of
the Build Options view) will be used for building the target.
To build a quantify target
Enter the target name, followed by
.quantify
, in the Other field of the Project Targets
view. For example, to build a quantify target for
filebrowser
, you would enter
filebrowser.quantify
.
Remove the hash (
#
) in the following line in the project's Makefile:
#QUANTIFY_TARGET=$(LINK_TARGET).quantify
This activates SNiFF+'s Make rules for quantifying targets.
Update the project's Make Support Files.
Build the target. The project's Make command (entered in the Make Command field of
the Build Options view) will be used for building the target.
Once you've built your purify and quantify targets in SNiFF+, you can load them into PurifyTM and QuantifyTM.