开发者

Filtering DbgPrint in WinDBG?

Finally found out how to make DbgPrint to really print in Win Vista/7 with:

ed nt!Kd_DEFAULT_Mask 0xffffffff

The problem is that there is som开发者_JAVA百科e other drivers talking to the command prompt ni WinDbg. Is there a way to filter so only DbgPrint from my .sys file will reach the command prompt in WinDbg?

I know about DbgPrintEx but I'm not so into migrating my old driver with tons of DbgPrint to DbgPrintEx if there is an easier way for simple filtering...


Have you tried the .ofilter command? This filters at the host so it's not as fast as using DbgPrintEx, but it works in a pinch.

-scott

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜