Patent · US Expired

Method and apparatus to detect and recover from a stack frame corruption

US7272748B1 · kind B1 · utility

59Cited by
17References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 17, 2004
Grant dateSep 18, 2007
Priority date
Expiry dateNov 12, 2025

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F21/52
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

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 in a second state of the stack frame. The saved copy of the first state of the stack frame is located and compared with the second state of the stack frame. A determination is made whether the stack frame is corrupted based on the comparison. Upon a determination that the stack frame is corrupted, the second state of the stack frame is replaced with the copy of the first state of the stack frame, and completion of the epilogue is initiated, allowing the function to complete.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.