Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例えば:
0:000> ?? testFile //check this variable char * 0x009c6758 "e:\TEST\example.FOO"
質問:
有効な文字列が表示され、その後にいくつかのジャンク文字が表示されないため、明らかにそこにあります。
db poi(testFile)
文字列内の生のバイトをコンソールにダンプし、最後に0バイトを表示できるようになります。メモリウィンドウを使用して、文字列の最後にあるゼロバイトを確認することもできます。