NSIP Law
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.
Samsung Electronics Co., Ltd.
Y G G G
Y02D G06F G06F G06F
additional additional inventional inventional
Young-sam Jeong-joon Jae-don Seung-won Han-cheol Min-kyu Keun-soo
Shin Yoo Lee Lee Kim Jeong Yim