Method for handling exceptions of applications
US7007198B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Jul 18, 2002 |
| Grant date | Feb 28, 2006 |
| Priority date | — |
| Expiry date | Dec 4, 2023 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/4812
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
An exception handling system and method for PC-mapped systems. A support library containing language-independent functions is used to raise exceptions. These functions then use language-dependent callback functions to make inquiries about the stack frames built by the language-dependent code, and to further make callbacks to language-dependent functions to clean up those stack frames. The support library works its way up the function call stack from where an exception was issued, searching for function frames that are interested in the exception. An unwind phase is begun when a function frame that is interested in the exception is found. In the unwind phase, the unwinder attempts to unwind the stack up to the interested frame, restoring callee-saved register values, and other pertinent processor-specific information, such as the stack pointer, and frame register. The unwinder then transfers control to the handler code specified by the interested function. The search and unwind phases locate all the information required to tear apart the stack frames laid down at the time the exception is raised. This unwind information is recorded in a compact format. Additionally, no relocations a…
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.