从blog开始,我尝试运行.writemen命令,
0:000> lm
start end module name
00000000`00ad0000 00000000`00ad2c00 bbwfjlpm (deferred)
0:000> .writemen c:\stringtest\aa.dll 00000000`00ad0000 (00000000`00ad2c00 -0x1)
^ Syntax error in '.writemen c:\stringtest\aa.dll 00000000`00ad0000 (00000000`00ad2c00 -0x1)'
0:000> .writemen c:\stringtest\aa.dll 00000000`00ad0000 00000000`00ad2c00
^ Syntax error in '.writemen c:\stringtest\aa.dll 00000000`00ad0000 00000000`00ad2c00'
0:000> ? 00000000`00ad2c00 - 00000000`00ad0000
Evaluate expression: 11264 = 00000000`00002c00
0:000> .writemen c:\stringtest\aa.dll 00000000`00ad0000 L 2c00
^ Syntax error in '.writemen c:\stringtest\aa.dll 00000000`00ad0000 L 2c00'
为什么我收到'语法错误'?
答案 0 :(得分:2)
我无法相信我的旧眼睛注意到你输错了命令。您键入“.writeme * n *”(最后一个字符为'n')。正确的命令是“.writeme * m *”(最后一个字符是'm')。你的第一次尝试(修复了拼写)对我有用:
.writemem c:\stringtest\aa.dll 00000000`00ad0000 (00000000`00ad2c00 -0x1)