Bringing It All Home

In this section, we’ll bring address spaces, partitions, regions, blocks, and pages all together. The best way to start is by examining a virtual memory map that shows all the regions of address space within a single process. The process happens to be the VMMap sample application presented in Chapter 14. To fully understand the process’ address space, we’ll begin by discussing the address space as it appears when VMMap is running under Windows on a 32-bit x86 machine. A sample address space map is shown in Table 13-4.

Table 13-4. A Sample Address Space Map Showing Regions Under Windows on a 32-Bit x86 Machine

Base Address

Type

Size

Blocks

Protection Attr(s)

Description

00000000

Free

65536

   

00010000

Mapped

65536

1

-RW-

 

00020000

Private

Get Windows® via C/C++, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.