TY - JOUR
T1 - Automated and Controlled Patch Generation for Enhanced Fixing of Communication Software Vulnerabilities
AU - Feng, Shuo
AU - Yuan, Shuai
AU - Guan, Zhitao
AU - Du, Xiaojiang
N1 - Publisher Copyright:
© 2020 Tsinghua University Press.
PY - 2024
Y1 - 2024
N2 - Software is a crucial component in the communication systems, and its security is of paramount importance. However, it is susceptible to different types of attacks due to potential vulnerabilities. Meanwhile, significant time and effort is required to fix such vulnerabilities. We propose an automated program repair method based on controlled text generation techniques. Specifically, we utilize a fine-tuned language model for patch generation and introduce a discriminator to evaluate the generation process, selecting results that contribute most to vulnerability fixes. Additionally, we perform static syntax analysis to expedite the patch verification process. The effectiveness of the proposed approach is validated using QuixBugs and Defects4J datasets, demonstrating significant improvements in generating correct patches compared to other existing methods.
AB - Software is a crucial component in the communication systems, and its security is of paramount importance. However, it is susceptible to different types of attacks due to potential vulnerabilities. Meanwhile, significant time and effort is required to fix such vulnerabilities. We propose an automated program repair method based on controlled text generation techniques. Specifically, we utilize a fine-tuned language model for patch generation and introduce a discriminator to evaluate the generation process, selecting results that contribute most to vulnerability fixes. Additionally, we perform static syntax analysis to expedite the patch verification process. The effectiveness of the proposed approach is validated using QuixBugs and Defects4J datasets, demonstrating significant improvements in generating correct patches compared to other existing methods.
KW - automatic program repair
KW - communication software security
KW - controlled text generation
KW - program language model
UR - http://www.scopus.com/inward/record.url?scp=85207101627&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85207101627&partnerID=8YFLogxK
U2 - 10.23919/ICN.2024.0016
DO - 10.23919/ICN.2024.0016
M3 - Article
AN - SCOPUS:85207101627
VL - 5
SP - 222
EP - 236
JO - Intelligent and Converged Networks
JF - Intelligent and Converged Networks
IS - 3
ER -