摘要 |
Memory management routines for a program are instrumented to check if the address of an object they are handling is equal to the value of a predetermined pointer. If the address of the object equals the value of the global pointer, then a debugging routine is called. In a debugger, a breakpoint is placed on the debugging routine, and the program is run until the breakpoint is tripped. At this or one of the later breakpoints, the corrupted memory address is repeatedly inspected until the operation that caused the corruption is executed.
|