8***@gmail.com
2007-07-24 09:14:15 UTC
I tried to use NTSD to hook the windows api GDI32!ExtTextoutW and
print out the unicode string at poi(esp+0x18), but it seems NTSD
could not display non-ascii chars.
_NT_DEBUG_LOG_FILE_APPEND=c:\test.log
ntsd -c "bp GDI32!ExtTextoutW \"J (poi(esp+0x18)!=0) 'du poi(esp
+0x18);g';'g'\";g" notepad
print out the unicode string at poi(esp+0x18), but it seems NTSD
could not display non-ascii chars.
_NT_DEBUG_LOG_FILE_APPEND=c:\test.log
ntsd -c "bp GDI32!ExtTextoutW \"J (poi(esp+0x18)!=0) 'du poi(esp
+0x18);g';'g'\";g" notepad