A C/C++ Program Defect Automatic Repair Method Based on Program Synthesis
An automatic repair and synthesis method technology, applied in software maintenance/management, creation/generation of source code, code reconstruction, etc., can solve problems such as the inability to guarantee the correctness of the code, and achieve the effect of ensuring correctness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The specific implementation of the C / C++ program defect automatic repair method based on program synthesis used in the present invention will be described in more detail below.
[0033] The C / C++ program defect automatic repair method based on program synthesis of the present embodiment, this method imports the C / C++ program with defect, according to common program defect and the type of defect program, rewrite rule is set, and rewrite rule includes defect Mode and repair options. The defect pattern is then matched against the syntax tree of the defect program. The absence of any matching rewrite rules indicates that the bug in the program cannot be fixed. If there is a matching rewrite rule, replace the matching syntax tree subtree with the selection expression. Afterwards, the program synthesis method is used to obtain the options of each selection expression according to the specifications that the program needs to satisfy. The program synthesis method converts th...
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