Default rule set (NDIS)

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

DDI usage rule set (NDIS) IRQL rule set (NDIS) Locking rule set (NDIS) Memory usage rule set (NDIS) Miscellaneous rule set (NDIS) OidProcessing rule set (NDIS) 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).