Redigera

Dela via


Default rule set (Storport)

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

DDI usage rule set (Storport) Irql rule set (Storport) Locking rule set (Storport) SrbProcessing rule set (Storport) VirtualStorport rule set (Storport) 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).