title: In windbg, how do I get a heap header address from !heap -l results?
body: <p>I am playing around with windbg's !heap command, particular the "-l" switch which detects memory leaks.</p>
  
  <p>When -l does detect a leak, I am having problems navigating from its results to a stack trace for the source of the leak.   </p>
  
  <p>Here is a snippet of the results from !heap -l.  Formatting has been changed to make the output more readable.</p>
  
  <p>0:066> !heap -l
  Searching the memory for potential unreachable busy blocks.
  
  
  <p>Entry      User       Heap       Segment<br>
  0324b500   0324b508   01580000   03230000<br>
  0324b520   0324b528   01580000   03230000</p>
  
  <p>(Size, PrevSize, Unused, and Flags columns omitted for simplicity.)</p>
  
  <p>Windbg's documentation for !heap tells me to use dt _DPH_BLOCK_INFORMATION with the header address, followed by dds with the blocks' StackTrace field.  But the output for !heap -l doesn't specify a header address!  It's only specififying Entry, User, Heap, and Segment.  I've racked my brain looking over the other commands but can't figure out how to get the header address from any of these fields.   Can someone help?</p>