A prologue and an epilogue of a function are hooked. Completion of the prologue is stalled in a first state of a stack frame, and a copy of the first state of the stack frame is saved. Completion of the prologue is initiated, permitting execution of the function. Completion of the epilogue is stalled...http://www.google.de/patents/US7272748?utm_source=gb-gplus-sharePatent US7272748 - Method and apparatus to detect and recover from a stack frame corruption