SoftICE driver command doesn't list handler for IRP_MJ_PNP

0 Likes

Problem:

SoftICE -- "driver" command lists addresses of all dispatch routines, except IRP_MJ_PNP -- is this intentional? How can I view the dispatch handler for say ...i8042prt.sys?

Resolution:

This is a confirmed bug in SoftICE 4.x.

As a workaround, you can use the "objdrir Driver" command to get the pointer to the driver object and then dereference it the offset to MajorFunction[IRP_MJ_PNP]. So you'd do something like:

: OBJDIR Driver 
ObjectObjHeaderNameType 
addr1addr2i8042prtDriver 
. 
. 
.

: ? *(addr1 a4)

A4 is the offset into MajorFunction[IRP_MJ_PNP]

Old KB# 11002
Comment List
Anonymous
Related Discussions
Recommended