发明授权
US09280500B2 Method and apparatus for preventing stack overflow in embedded system
有权
嵌入式系统中防止堆栈溢出的方法和装置
- 专利标题: Method and apparatus for preventing stack overflow in embedded system
- 专利标题(中): 嵌入式系统中防止堆栈溢出的方法和装置
-
申请号: US12003947申请日: 2008-01-03
-
公开(公告)号: US09280500B2公开(公告)日: 2016-03-08
- 发明人: Seung-won Lee , Han-cheol Kim , Young-sam Shin , Min-kyu Jeong , Keun-soo Yim , Jeong-joon Yoo , Jae-don Lee
- 申请人: Seung-won Lee , Han-cheol Kim , Young-sam Shin , Min-kyu Jeong , Keun-soo Yim , Jeong-joon Yoo , Jae-don Lee
- 申请人地址: KR Suwon-si
- 专利权人: Samsung Electronics Co., Ltd.
- 当前专利权人: Samsung Electronics Co., Ltd.
- 当前专利权人地址: KR Suwon-si
- 代理机构: NSIP Law
- 优先权: KR10-2007-0001643 20070105
- 主分类号: G06F13/24
- IPC分类号: G06F13/24 ; G06F9/50
摘要:
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.
公开/授权文献
信息查询