.holdmem (Hold and Compare Memory)

The .holdmem command saves memory ranges and compares them to other memory ranges.

.holdmem -a Range 
.holdmem -d { Range | Address } 
.holdmem -D 
.holdmem -o 
.holdmem -c Range 

Parameters

-a **** Range
Specifies the memory range to save. For more information about the syntax, see Address and Address Range Syntax.

-d **** { Range | Address }
Specifies memory ranges to delete. If you specify Address, the debugger deletes any saved range that contains that address. If you specify Range, the debugger deletes any saved range that overlaps with Range. For more information about the syntax, see Address and Address Range Syntax.

-D
Deletes all saved memory ranges.

-o
Displays all saved memory ranges.

-c Range
Compares the specified range to all saved memory ranges. For more information about the syntax, see Address and Address Range Syntax.

Environment

Item Description
Modes User mode, kernel mode
Targets Live, crash dump
Platforms All

Additional Information

For more information about how to manipulate memory and a description of other memory-related commands, see Reading and Writing Memory.

Remarks

The .holdmem command compares memory ranges byte-for-byte.

If any of the specified memory locations do not exist in the virtual address space, the command returns an error.