handling IRPs 16: Debugging I/O Problems

本文介绍如何使用DriverVerifier及Microsoft调试器扩展来调试驱动程序处理IRP时遇到的问题。DriverVerifier可以捕捉到IRP处理中出现的各种错误,并且最好在连接调试器的情况下运行。此外,还介绍了!irp和!irpfind调试器扩展,这些工具可以帮助开发者追踪IRP。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Driver writers can use the Driver Verifier and extensions to the Microsoft debuggers to debug problems in handling IRPs.

Driver Verifier can catch errors in every aspect of IRP handling. Driver Verifier is provided with every version of the operating system. Driver verifier runs best with a debugger attached. However, all driver writers must still provide and use test tools that exercise their driver in order for Driver Verifier to detect errors. Use of the Driver Verifier and driver-specific test tools should be a standard part of debugging and development.

The !irp and !irpfind debugger extensions can help in tracing IRPs while debugging. The!irp extension displays detailed information about a specified IRP, and the!irpfind extension displays information about all IRPs in the system or about one or more IRPs that meet specified criteria. For detailed information about these extensions, see the documentation in the Debugging Tools for Windows package. You can download this package from the WHDC web site, at the location listed in the Call to Action and Resources section of this paper.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值