Method for rapidly positioning memory leak
A technology of memory leak and location method, applied in the field of rapid location of memory leak, can solve the problems of inconvenient location, time-consuming and laborious, high cost, etc., and achieve the effect of convenient and rapid location.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] Assume that the address of the function named function1() is 0x00000001, and the line number in the code corresponding to this function is LINE:10021.
[0044] When this function applies for memory, it applies for an extension area of a predetermined size in the memory to store memory header information. The memory header information includes: header identification information and function information, where the header identification information is set as the magic number of the memory header " 00", which is used to indicate that the memory is used and not released; the function information includes the function address 0x00000001 and the corresponding code line number LINE: 10021, and the function address 0x00000001 can be translated into the function name function1() of the function.
[0045] Preferably, the extension area also stores memory tail information, and the memory tail information includes: tail identification information for confirming the end position of ...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com