A system for verifying data in a shadow memory is provided that includes a
main memory, a shadow memory, a shadow memory initializer, and a shadow
memory verifier. The main memory is operable to store main data
persistently. The shadow memory is operable to store shadow data
temporarily. The shadow data comprises a copy of the main data. The
shadow memory initializer is operable to detect an initialization event
and to initialize the shadow memory based on the initialization event.
The shadow memory verifier is operable to detect a verification event and
to verify the shadow data based on the verification event.