Memcheck, part of the Valgrind suite, uses this to detect undefined behavior resulting from acting on or printing undefined memory values. An error checker may also store additional information on memory such as which bits have defined and which ones do not. This shadow memory is then used for detecting and reporting incorrect accesses of memory, even though the program may not be crashing due to a segmentation fault or similar. The technique is utilized by memory-error checkers that can store information on which parts of memory have been allocated to the program being checked. These shadow bytes are typically invisible to the original program and are used to record information about the original piece of data. Shadow memory consists of shadow bytes that map to individual bits or one or more bytes in main memory. In computing, shadow memory is a technique used to track and store information on computer memory used by a program during its execution. ( Learn how and when to remove this template message) JSTOR ( May 2016) ( Learn how and when to remove this template message).Unsourced material may be challenged and removed. Please help improve this article by adding citations to reliable sources.
This article needs additional citations for verification.