Static Driver Verifier(SDV)
是MS开发一项功能强大的静态驱动代码检查工具.
基本使用方法:1.进行源代码文件夹2.命令行输入: staticdv /rule:*3. 查看结果.
Prefast:
是Ms开发的一个测试驱动代码的小工具
使用方法:
1.开始->程序->Windows Driver kits->Build Enviroments->找到具体编译enviroments
2.进入你的项目所有在文件夹3.在命令行中输入: prefast build -cz4.等待编译完成5.在命令行中输入: prefast view6.可以看到一些Warning这样处理后可以早发现问题提高代码质量.
Driver Verifier :
使用方法:
2 The Driver Verifier Manager dialog box appears, select the radio button in front of Create standard settings under Select a task and click Next.
Check Driver with the Driver Verifier ToolBefore the setting is stored, you will receive the tips just like you must reboot for the changes to take effect. Click OK, and reboot your computer.
Check Driver with the Driver Verifier ToolAfter rebooting your computer, relaunch Driver Verifier Manager to see the analysis of all running drivers. Under Select a task, select the Display information about the currently verified driver radio button and click Next, and the output appears in the Driver Verifier Manager dialog box.
Check Driver with the Driver Verifier Tool
Check Driver with the Driver Verifier ToolIf you want to see others, please click Next. Otherwise, click Cancel to exit the Driver Verifier Manager dialog box.