张老师, 你好, 我用PsLoadedModuleList 的 地址, 做实验, 但是结果好像不是大内存页, 我好像不是通常的情况...麻烦您抽空帮我看看
lkd> .restart Unable to read head of debugger data list Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE Symbol search path is: srv*D:\Symbols*http://msdl.microsoft.com/download/symbols Executable search path is: ******************************************************************************* WARNING: Local kernel debugging requires booting with kernel debugging support (/debug or bcdedit -debug on) to work optimally. ******************************************************************************* Windows XP Kernel Version 2600 (Service Pack 3) MP (2 procs) Free x86 compatible Product: WinNt, suite: TerminalServer SingleUserTS Built by: 2600.xpsp_sp3_gdr.101209-1647 Kernel base = 0x804d8000 PsLoadedModuleList = 0x805644c0 Debug session time: Sun Aug 11 13:02:49.125 2013 (GMT+8) System Uptime: 0 days 0:57:54.750 lkd> !pte 805644c0 VA 805644c0 PDE at C0300804 PTE at C0201590 contains 0003D163 contains 00564163 pfn 3d -G-DA--KWEV pfn 564 -G-DA--KWEV
lkd> !process 0 0 system PROCESS 897ac7c0 SessionId: none Cid: 0004 Peb: 00000000 ParentCid: 0000 DirBase: 0a040000 ObjectTable: e1001da8 HandleCount: 242. Image: System
lkd> !dd a040000 + 805/4*4 # a040804 0003d163 0003e163 09043963 09044963 # a040814 09045963 09046963 09047963 09048963 # a040824 09049963 0904a963 0904b963 0904c963 # a040834 0904d963 0904e963 0904f963 09050963 # a040844 09051963 09052963 09053963 09054963 # a040854 09055963 09056963 09057963 09058963 # a040864 09059963 0905a963 0905b963 0905c963 # a040874 0905d963 0905e963 0905f963 09060963 lkd> .formats 3d163 Evaluate expression: Hex: 0003d163 Decimal: 250211 Octal: 00000750543 Binary: 00000000 00000011 11010001 01100011 Chars: ...c Time: Sun Jan 04 05:30:11 1970 Float: low 3.5062e-040 high 0 Double: 1.23621e-318 lkd> !dd 3d000 + 164*4 # 3d590 00564163 00565163 00566163 00567163 # 3d5a0 00568163 00569163 0056a163 0056b163 # 3d5b0 0056c163 0056d121 0056e121 0056f121 # 3d5c0 00570121 00571121 00572121 00573121 # 3d5d0 00574121 00575121 00576121 00577121 # 3d5e0 00578121 00579121 0057a121 0057b121 # 3d5f0 0057c121 0057d121 0057e121 0057f121 # 3d600 00580121 00581121 00582121 00583121 lkd> !dd 5644c0 # 5644c0 897fd390 891d9e50 00000000 00000000 # 5644d0 00000000 00000000 00000000 00000000 # 5644e0 8056b960 80568b80 00000000 00000000 # 5644f0 00000000 00000000 00000000 00000000 # 564500 00000000 00000000 00000000 00000000 # 564510 00000000 00000000 80551800 80551000 # 564520 80550400 8054f000 80553600 80552000 # 564530 00000000 0000000b 0000000b 8965cb50 lkd> dd 805644c0 805644c0 897fd390 891d9e50 00000000 00000000 805644d0 00000000 00000000 00000000 00000000 805644e0 8056b960 80568b80 00000000 00000000 805644f0 00000000 00000000 00000000 00000000 80564500 00000000 00000000 00000000 00000000 80564510 00000000 00000000 80551800 80551000 80564520 80550400 8054f000 80553600 80552000 80564530 00000000 0000000b 0000000b 8965cb50
按照上面的实验结果, 这个地址应该是在4KB页面上的。
|