-
-
IofCallDriver inline hook出错
-
发表于:
2010-4-24 21:25
4559
-
IofCallDriver inline hook出错
在Windows 2003下,IofCallDriver 结构为:
kd> u iofcalldriver
nt!IofCallDriver:
80828c5d 8bff mov edi,edi
80828c5f 55 push ebp
80828c60 8bec mov ebp,esp
80828c62 a1e0e78980 mov eax,dword ptr [nt!pIofCallDriver (8089e7e0)]
80828c67 85c0 test eax,eax
80828c69 0f85d4a90200 jne nt!IofCallDriver+0xe (80853643)
80828c6f fe4a23 dec byte ptr [edx+23h]
80828c72 807a2300 cmp byte ptr [edx+23h],0
别忘记pushad
pushfd来保存状态.
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课