Invention Grant
US09026866B2 Method and system for realtime detection of stack frame corruption during nested procedure calls
有权
在嵌套过程调用期间实时检测堆栈帧损坏的方法和系统
- Patent Title: Method and system for realtime detection of stack frame corruption during nested procedure calls
- Patent Title (中): 在嵌套过程调用期间实时检测堆栈帧损坏的方法和系统
-
Application No.: US13453136Application Date: 2012-04-23
-
Publication No.: US09026866B2Publication Date: 2015-05-05
- Inventor: Prakash Kalanjeri Balasubramanian
- Applicant: Prakash Kalanjeri Balasubramanian
- Applicant Address: DE Neubiberg
- Assignee: Infineon Technologies AG
- Current Assignee: Infineon Technologies AG
- Current Assignee Address: DE Neubiberg
- Agency: Eschweiler & Associates, LLC
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F9/44 ; G06F11/07 ; G06F11/36

Abstract:
The present disclosure relates to some aspects relate to a method for detecting stack memory corruption. In some embodiments, the method comprises determining an expected memory range of a data element that is to be written to a stack memory by tracking changes to a stack pointer. The determined memory range is stored in a stack object database. Upon receiving a stack memory access related instruction (e.g., LOAD/STORE instruction or arithmetic instruction operating on memory addresses) to write data to the stack memory, an address of the memory location to be accessed is determined. If the address falls within the expected memory range, no stack corruption is present. However, if the address falls outside of the expected memory range, stack corruption is present. Therefore, the present method provides for real time detection of corruption (e.g., overrun and underrun errors) in stack memory.
Public/Granted literature
- US20130283105A1 Method and System for Realtime Detection of Stack Frame Corruption During Nested Procedure Calls Public/Granted day:2013-10-24
Information query