通过部署驱动程序验证驱动程序 [英] Driver verification by deploying the driver

查看:206
本文介绍了通过部署驱动程序验证驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在尝试运行Driver verifier for以下选项


池追踪


安全检查


DDI Check


< p style =""> 基于堆栈的失败注入




我有提供我的te st目标并且能够在禁用驱动程序验证的情况下部署驱动程序。当我启用驱动程序验证程序和UMDf验证程序时,我得到
错误消息,因为"在目标计算机上找不到UMDF验证程序设置文件"..



请通过部署驱动程序详细说明驱动程序验证程序要遵循的步骤。



项目设置为发布模式



我使用的是Win 10 OS和WDK 10.



在目标机器中,文件夹c; \DriverTest \ Run \ wexlogFileOutput我看到一个文件0000001_~__LogUMDFVerifierSettings_UmdfVerifierSettings_uartdriver


和文件内容如下:


1


1


50


0


5


0


1


0


0


uartdriver






$

解决方案

看起来您遇到了WDK部署验证程序设置的错误。目前,您是否可以禁用UMDF的部署通过WDK和KMDF验证程序设置并在目标机器上手动应用这些设置?



对于堆栈中的任何内核模式驱动程序,您可以使用驱动程序验证程序实用程序启用你提到的检查。这里记录在案:

https://msdn.microsoft.com/en-us/library/windows/hardware/ff545448%28v=vs.85%29.aspx?f=255& ; MSPPError = -2147217396#how_to_start_dv


对于UMDF驱动程序 验证,请在WudfHost.exe上启用应用程序验证程序。


请按照以下链接进行操作更多信息:

https: //msdn.microsoft.com/en-us/library/windows/hardware/dn265597(v=vs.85).aspx  (UMDF验证设置)

https://msdn.microsoft.com/en-us/library/ windows / hardware / ff556129(v = vs.85).aspx  (使用WdfVerifier.exe控件应用程序)




Hi,

I'm trying to run Driver verifier for below options

Pool tracing

Security check

DDI Check

Stack Based Failure Injection


I have provisioned my test target and able to deploy the driver with Driver verification disabled.when i enable the  Driver verifier and UMDf Verifier i get error meassage as "UMDF verifier settings file was not found on the target machine"..

Please explain in-detail on the steps to follow for driver verifier by deploying the driver.

The Project is set to Release mode

I am using Win 10 OS and WDK 10.

In target machine,Folder c;\DriverTest\Run\wexlogFileOutput i see a file 0000001_~__LogUMDFVerifierSettings_UmdfVerifierSettings_uartdriver

and the content of the file is as below:

1

1

50

0

5

0

1

0

0

uartdriver

解决方案

It looks like you are running into a bug with WDK's deployment of verifier settings. For now, could you disable deployment of both UMDF and KMDF verifier settings via the WDK and apply those settings manually on the target machine?

For any kernel mode drivers in your stack you can use the driver verifier utility to enable the checks you mentioned. This is documented here: https://msdn.microsoft.com/en-us/library/windows/hardware/ff545448%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396#how_to_start_dv

For UMDF driver verification please enable application verifier on WudfHost.exe.

Please follow the following links for more information:
https://msdn.microsoft.com/en-us/library/windows/hardware/dn265597(v=vs.85).aspx (UMDF verifier settings)
https://msdn.microsoft.com/en-us/library/windows/hardware/ff556129(v=vs.85).aspx (Using WdfVerifier.exe control application)


这篇关于通过部署驱动程序验证驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆