title: windows how to show memory segment of a process?
body: <p>We have tools like <strong>objdump</strong>, <strong>readelf</strong>, and <strong>dumbin</strong> to show <strong>executable</strong> file contents.</p>
  
  <p>But when an <strong>executable</strong> file is loaded into memory (a <strong>process</strong> is created), the <strong>segments</strong> in memory is usually different from the <strong>segments</strong> in the <strong>executable</strong> file. For example, when loaded, two extra segments namely <strong>stack</strong> and <strong>heap</strong> are allocated (we overlook details of page mapping here).</p>
  
  <p>Is there a tool that help show the in-time memory segment/status of a <strong>process</strong>?</p>