Stack overflow protection method in operation for embedded system
An embedded system, stack overflow technology, applied in the direction of memory system, program control design, instrument, etc., can solve the problems of poor effectiveness of time application, multiple data compression time and data decompression time, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The content of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0025] When implementing the stack overflow protection method when the embedded system is running, the specific method is as follows:
[0026] In the first step, the compiler analyzes and scans the original program to generate a program function call table:
[0027] The core of this method is to insert runtime detection code and program stack processing code into the application program code. But different insertion methods are required for different functions. If it is an ordinary single function call, normal insertion is fine. But for nested functions, the situation is different, which is much more complicated than simple function calls. The code below shows two different situations:
[0028] void fun() void fun1()
[0029] {{
[0030] / / There is no internal function call fun2(); / / Call functio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com