相关疑难解决方法(0)

如何使用Windbg poi函数转储字符串

在windbgWinDbg和SoS中调试.Net字符串值,如何打印/转储大字符串?显示将字符串转储到本地文件的脚本:

$$ Dumps the managed strings to a file
$$ Platform x86
$$ Usage $$>a<"c:\temp\dumpstringtofolder.txt" 6544f9ac 5000 c:\temp\stringtest
$$ First argument is the string method table pointer
$$ Second argument is the Min size of the string that needs to be used filter the strings
$$ Third is the path of the file
.foreach ($string {!dumpheap -short -mt ${$arg1}  -min ${$arg2}})
{ 

  $$ MT        Field      Offset               Type  VT     Attr    Value Name
  $$ 65452978  40000ed        4 …
Run Code Online (Sandbox Code Playgroud)

debugging windbg

1
推荐指数
1
解决办法
4013
查看次数

标签 统计

debugging ×1

windbg ×1