Processing a Library
Before running a verification, process the libraries that the driver requires.
To process a library
- Start Static Driver Verifier. From the Driver menu in Visual Studio, click Launch Static Driver Verifier....
- Click the Libraries tab and click Add Library to add the library.
- Navigate to the directory that stores the project file for the library.
- Repeat these steps for each library your driver uses.
Static Driver Verifier keeps a cache of the libraries that you add. Only libraries required by the driver and present in the cache will be used for verification. Libraries are processed with the same configuration and platform settings that the driver uses.
You can also process libraries from a Visual Studio Command Prompt window using the msbuild t:/sdv p:"/Inputs=/lib" libraryproject.vcxproj option. For information about the command options, see Static Driver Verifier commands (MSBuild).
If you are unable to process a required library for any reason, you can still verify the driver that uses it. However, the results are less reliable.