Tasks stack overflow real-time detection method and apparatus
A stack overflow and real-time detection technology, applied in the direction of multi-programming device, resource allocation, etc., can solve problems such as system failure, data destruction, and difficulty in locating
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] The main idea of the present invention is to allocate one or several isolated stack memory blocks adjacent to the stack top of the task stack on the basis of the size of the task stack specified by the user by modifying the stack allocation strategy in the system call of the operating system to create a task. area, and use the memory management unit (MMU, Memory Manage Unit) write protection function of the microprocessor to modify the MMU attribute of the isolated area to be non-writable. In this way, when the task stack overflows and the push operation is performed, the write operation will be performed on the isolation area of the memory adjacent to the top of the stack. However, since the memory in the isolation area has been set as non-writable by the MMU unit of the microprocessor, the An exception of MMU write protection will be generated, triggering the execution of the exception handling function, and suspending the task. At this time, the standard stack pro...
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