A method for detecting memory leaks in embedded systems
An embedded system and memory leak technology, which is applied in the field of memory processing, can solve problems such as inflexible configuration, inconvenient use, false alarms and false releases of memory leaks, etc., to improve flexibility, avoid false alarms, and realize partition detection Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0036] Since the embedded system software generally keeps running after startup, and there is no program end, if the existing memory leak detection method is adopted, it is not only inconvenient to use, but also prone to problems such as false positives and false releases. Aiming at the above-mentioned characteristics of the embedded system, the present invention provides a memory leak detection method applied to the embedded system, the core of the method is to save the memory release range type information corresponding to the memory allocated by the memory allocation function during the memory allocation process and memory release location information, and in the memory release process, it will be judged that the released memory release is valid according to the memory release range type information and memory release location information, and the memory re...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 