Default rule set (WDM)
The Default rule set (Default.sdv) specifies the recommended sets of rules to use when you analyze your driver.
- DDI usage rule set (WDM)
- IrpProcessing rule set (WDM)
- IrpTracking rule set (WDM)
- Irql rule set (WDM)
- LocalIrpProcessing rule set (WDM)
- Locking rule set (WDM)
- Miscellaneous rule set (WDM)
- IrpPending rule set (WDM)
To select the default rules
Select your driver project (.vcxProj) in Microsoft Visual Studio. From the Driver menu, click Launch Static Driver Verifier….
Click the Rules tab. Under Rule Sets, select Default.
To select the default rule set from a Visual Studio developer command prompt window, specify Default.sdv with the /check option. For example:
msbuild /t:sdv /p:Inputs="/check:Default.sdv" mydriver.VcxProj /p:Configuration="Win8 Release" /p:Platform=Win32
For more information, see Using Static Driver Verifier to Find Defects in Drivers and Static Driver Verifier commands (MSBuild).