Storing the result of .dvalloc to a variable
问题 Is it possible to store the result of .dvalloc to a variable? I mean the start address of allocated memory 回答1: I don't think it's easily possible in a single command, so all options are kind of nasty: Store it manually Pro: easy to understand. Use copy/paste (right click to copy, right click to paste BTW) 0:000> .dvalloc 100000 Allocated 100000 bytes starting at 00000000`00290000 0:000> r $t9 = 00000000`00290000 0:000> ? $t9 Evaluate expression: 2686976 = 00000000`00290000 Use a WinDbg