Memory leak detection method based on symbolic execution
A memory leak and detection method technology, applied in the field of software engineering and software testing, can solve the problems of suspected memory leak alarms, low operating efficiency, time-consuming and labor-intensive problems, and achieve the effect of solving false positives, reducing the scope of monitoring, and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0042] Example: figure 2 yes figure 1 The process after the test framework is embodied in the middle, specifically introduces the memory leak test method based on symbolic execution, and shows the workflow of using static analysis to guide the dynamic memory leak test method under the LLVM framework. First, enter the C language code into Fortify, a static analysis tool, to get a static memory leak alert. At the same time, after compiling the source code with llvm-gcc, input the LLVM intermediate code (IR) stub tool (LLVMPass) together with the leak alarm, modify the intermediate code, do path tracking and memory object state tracking, etc.; then, put the stub The final intermediate code is input into KLEE for symbolic execution to generate test cases; all test cases are executed to collect the status information of the target memory; finally, the execution results of all test cases are integrated to obtain four categories of memory leak test results.
[0043] Next, we will...
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