发明授权
US09280500B2 Method and apparatus for preventing stack overflow in embedded system 有权
嵌入式系统中防止堆栈溢出的方法和装置

Method and apparatus for preventing stack overflow in embedded system
摘要:
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.
信息查询
0/0