Task stack overflow monitoring method and system
A task stack and task detection technology, applied in the computer field, can solve problems such as abnormal function, missed task stack overflow, and inability to monitor task stack overflow in real time, so as to facilitate finding problems and prevent damage.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] First, a method for monitoring task stack overflow provided by an embodiment of the present invention is described, and the method may include the following steps:
[0025] Detect the operation status of the function stack in the task;
[0026] If the function stack operation state is a preset function stack operation, then read the bottom address of the task stack;
[0027] comparing the difference between the current stack top address and the bottom address of the task stack minus the total length of the task stack;
[0028] Monitor task stack overflow based on comparison results.
[0029] Wherein, the operation state of the function stack in the task is that the function performs a stack push operation or performs a stack unstack operation during execution. Here is an explanation of the function’s stack push operation and stack unstack operation: when each function is called, a memory area allocated in the task stack space becomes the stack frame of the function. ...
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