Invention Grant
US09280500B2 Method and apparatus for preventing stack overflow in embedded system
有权
嵌入式系统中防止堆栈溢出的方法和装置
- Patent Title: Method and apparatus for preventing stack overflow in embedded system
- Patent Title (中): 嵌入式系统中防止堆栈溢出的方法和装置
-
Application No.: US12003947Application Date: 2008-01-03
-
Publication No.: US09280500B2Publication Date: 2016-03-08
- Inventor: Seung-won Lee , Han-cheol Kim , Young-sam Shin , Min-kyu Jeong , Keun-soo Yim , Jeong-joon Yoo , Jae-don Lee
- Applicant: Seung-won Lee , Han-cheol Kim , Young-sam Shin , Min-kyu Jeong , Keun-soo Yim , Jeong-joon Yoo , Jae-don Lee
- Applicant Address: KR Suwon-si
- Assignee: Samsung Electronics Co., Ltd.
- Current Assignee: Samsung Electronics Co., Ltd.
- Current Assignee Address: KR Suwon-si
- Agency: NSIP Law
- Priority: KR10-2007-0001643 20070105
- Main IPC: G06F13/24
- IPC: G06F13/24 ; G06F9/50

Abstract:
Provided is a method and apparatus for preventing a stack overflow in an embedded system. The method of preventing a stack overflow includes: reading a maximum stack usage of at least one function for executing a requested operation from maximum stack usages of functions provided from a kernel, which are stored in advance; and processing the requested operation on the basis of the read maximum stack usage of the at least one function and a size of a usable region in a stack for the requested operation. Accordingly, the stack overflow can be prevented without generating a run-time overhead.
Public/Granted literature
- US20080168460A1 Method and apparatus for preventing stack overflow in embedded system Public/Granted day:2008-07-10
Information query