The first line of text in the DLL hooks file is one of the following:
•Rule:DoNotHook Source files that follow will not be hooked. All other files will be hooked •Rule:DoHook Source files that follow will be hooked. All other files will not be hooked
Capitalization is important.
The remaining lines list one source file (or source directory) per line.
The file is named with a path or without a path, i.e. the same way that Coverage Validator discovers the path.
Example:
Most files are listed with a full path but constituent files of MFC might be listed without a path.
Rule:DoNotHook
"c:\program files\software verification\coverage validator\examples\nativeExample\nativeExample.cpp"
appmodule.cpp
Example:
Using paths with and without spaces:
Rule:DoHook
"E:\OM\C\coverage Validator\examples\nativeExample"
Rule:DoHook
E:\OM\C\coverageValidator\examples\nativeExample
Example:
Using environment variables.
Rule:DoHook
%ENV_VAR%\examples\nativeExample
Using wildcards.
Rule:DoHook
c:\test\*\nativeExample
The file can be ANSI or UNICODE text and paths with spaces do not need quotes.
|