Task 11: Viewing Corrupted Memory
If your program writes data either immediately before or immediately after an allocated block, it can alter data that other parts of the program will use. That is, this error means that these values are not what they are expected to be. This task shows how MemoryScape can help you with this problem.
Before reading this task, you should be familiar with the following information:
Chapter 1, “Locating Memory Problems”
An overview of memory concepts and MemoryScape.
Task 1: “Getting Started”
How to start MemoryScape and a summary of the kinds of information you can ­obtain.
Task 3: “­Setting MemoryScape Options”
How to configure MemoryScape so that it performs the activities you want it to perform.
Table 10: “Filtering Reports”
How you can remove information from the report that you do not need or want to see.
Topics in this task are:
“Examining Corrupted Memory Blocks”
“Viewing Memory Contents”