Edit

Share via


Default rule set (KMDF)

The Default rule set (Default.sdv) specifies the recommended sets of rules to use when you analyze your driver.

DDI usage rule set (KMDF) IrpProcessing rule set (KMDF) Irql rule set (KMDF) Locking rule set (KMDF) Miscellaneous rule set (KMDF) RequestProcessing rule set (KMDF) Usb rule set (KMDF) To select the default rules

  1. Select your driver project (.vcxProj) in Microsoft Visual Studio. From the Driver menu, click Launch Static Driver Verifier….

  2. 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).