A machine learning-based intelligent detection method for c program memory leaks
A technology of memory leaks and machine learning, which is applied in error detection/correction, instrumentation, software testing/debugging, etc. It can solve the problems of many static analysis false positives, high dynamic detection overhead, unable to solve memory leaks, etc., and achieve classifier results Accurate, short time consumption, fast detection effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] The following is a more detailed description of the present invention using the machine learning-based intelligent detection method of C program memory leaks and specific implementation methods.
[0034] According to attached figure 1 The flow chart of the shown machine learning-based C program memory leak intelligent detection method, the specific embodiment of the present invention is:
[0035] 1) Construct two data sets based on existing memory leaks, one is a data set containing real memory leaks, and the other is a data set containing false memory leaks.
[0036] 2) Extract memory leak features. Memory leak features include two types: type information and pointer information. Such as figure 2 Shown are examples of memory leak features extracted during model training (each row represents a memory leak feature. The first column represents a label: 1 represents a memory leak, 0 represents no memory leak. The last 15 columns are memory leak features, and each colum...
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