首页>
外国专利>
Recovering from stack corruption faults in embedded software systems
Recovering from stack corruption faults in embedded software systems
展开▼
机译:从嵌入式软件系统中的堆栈损坏故障中恢复
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method and system for recovering from stack-overflow or stack-underflow faults without restarting software or hardware. At every task switch operation in an application program, a portion of the memory stack is copied to a backup location, so that portion of the stack can be restored if it is subsequently corrupted by a stack-overflow or stack-underflow fault during the execution of the next task. State variable data is similarly copied to a backup location, so that it can be used to restore or estimate the output of the next task if that task experiences a fault. Techniques are disclosed for selecting which state variable data and which portion of the memory stack to copy to backup, and for detecting a stack-overflow or stack-underflow fault and restoring state variable and memory data in the event of such a fault.
展开▼