首页> 外国专利> Caller protected stack return address in a hardware managed stack architecture

Caller protected stack return address in a hardware managed stack architecture

机译:硬件管理的堆栈体系结构中受调用者保护的堆栈返回地址

摘要

Corruption of program stacks is detected by using guard words placed in the program stacks. A called routine executing on a processor checks a guard word in a stack of a calling routine. The checking determines whether the guard word has an expected value. Based on determining the guard word has an unexpected value, an indication of corruption of the stack is provided. Some routines, however, may not support use of guard words. Thus, routines that are interlinked may have differing protection capabilities. A determination is made as to the differing protection capabilities, an indication of the same is provided, and the routines are executed without failing due to the differing protection capabilities.
机译:通过使用放置在程序堆栈中的保护字来检测程序堆栈的损坏。在处理器上执行的被调用例程检查调用例程堆栈中的保护字。该检查确定保护字是否具有期望值。基于确定保护字具有意外值,提供了堆栈损坏的指示。但是,某些例程可能不支持使用保护字。因此,互连的例程可能具有不同的保护功能。确定不同的保护能力,提供相同的指示,并且例程由于不同的保护能力而不会失败。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号