Cross-Standard Code Defect Identification and AST-Based Template-Driven Automated Repair Methods

  • Tianyi Guan
  • , Yongfeng Yin*
  • , Qingran Su
  • , Ruinan Qiu
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

This paper explores optimizing static code defect detection across multiple standards (e.g., GJB8114, CWE, MISRA2012) and AST-based template repair strategies to improve software quality and efficiency. It introduces a universal mechanism for detecting code defects and an AST-based manual template method for precise automated repair. Through experiments on real-world code and benchmarks, the proposed methods show superior accuracy and repair precision over popular neural network-based approaches, highlighting their practical applicability.

Original languageEnglish
Title of host publicationAdvances in Guidance, Navigation and Control - Proceedings of 2024 International Conference on Guidance, Navigation and Control Volume 5
EditorsLiang Yan, Haibin Duan, Yimin Deng
PublisherSpringer Science and Business Media Deutschland GmbH
Pages169-180
Number of pages12
ISBN (Print)9789819622153
DOIs
StatePublished - 2025
EventInternational Conference on Guidance, Navigation and Control, ICGNC 2024 - Changsha, China
Duration: 9 Aug 202411 Aug 2024

Publication series

NameLecture Notes in Electrical Engineering
Volume1341 LNEE
ISSN (Print)1876-1100
ISSN (Electronic)1876-1119

Conference

ConferenceInternational Conference on Guidance, Navigation and Control, ICGNC 2024
Country/TerritoryChina
CityChangsha
Period9/08/2411/08/24

Keywords

  • Defect detection
  • Program repair
  • Static analysis

Fingerprint

Dive into the research topics of 'Cross-Standard Code Defect Identification and AST-Based Template-Driven Automated Repair Methods'. Together they form a unique fingerprint.

Cite this