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, whic...

Full description

Saved in:
Bibliographic Details
Main Authors LEE JAE-DON, LEE SEUNG-WON, KIM HANOL, SHIN YOUNG-SAM, YOO JEONG-JOON, JEONG MIN-KYU, YIM KEUN-SOO
Format Patent
LanguageEnglish
Published 08.03.2016
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary: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.
Bibliography:Application Number: US20080003947