Towards More Reliable Automated Program Repair by Integrating Static Analysis Techniques

被引:3
|
作者
Al-Bataineh, Omar, I [1 ]
Grishina, Anastasiia [1 ]
Moonen, Leon [1 ]
机构
[1] Simula Res Lab, Oslo, Norway
关键词
automated program repair; bug detection; static analysis; integer overflow; non-termination; conditional mutation; TERMINATION;
D O I
10.1109/QRS54544.2021.00075
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A long-standing open challenge for automated program repair is the overfitting problem, which is caused by having insufficient or incomplete specifications to validate whether a generated patch is correct or not. Most available repair systems rely on weak specifications (i.e., specifications that are synthesized from test cases) which limits the quality of generated repairs. To strengthen specifications and improve the quality of repairs, we propose to closer integrate static bug detection techniques with automated program repair. The integration combines automated program repair with static analysis techniques in such a way that bug detection patterns can be synthesized into specifications that the repair system can use. We explore the feasibility of such integration using two types of bugs: arithmetic bugs, such as integer overflow, and logical bugs, such as termination bugs. As part of our analysis, we make several observations that help to improve patch generation for these classes of bugs. Moreover, these observations assist with narrowing down the candidate patch search space, and inferring an effective search order.
引用
收藏
页码:654 / 663
页数:10
相关论文
共 50 条
  • [21] Evaluating Automated Program Repair Techniques using Introductory Programming Course Datasets
    Nakamura, Tsukasa
    Kondo, Masanari
    Kamei, Yasutaka
    Ubayashi, Naoyasu
    2022 IEEE 46TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2022), 2022, : 569 - 574
  • [22] Program Repair Guided by Datalog-Defined Static Analysis
    Liu, Yu
    Mechtaev, Sergey
    Subotic, Pavle
    Roychoudhury, Abhik
    PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 1216 - 1228
  • [23] Towards Efficiently Parallelizing Patch-Space Exploration in Automated Program Repair
    Al-Bataineh, Omar, I
    ENGINEERING OF COMPLEX COMPUTER SYSTEMS, ICECCS 2024, 2025, 14784 : 409 - 419
  • [24] Extended Abstract: Towards Reliable and Scalable Linux Kernel CVE Attribution in Automated Static Firmware Analyses
    Helmke, R.
    Dorp, J. vom
    DETECTION OF INTRUSIONS AND MALWARE, AND VULNERABILITY ASSESSMENT, DIMVA 2023, 2023, 13959 : 201 - 210
  • [25] Experience Report: How Do Techniques, Programs, and Tests Impact Automated Program Repair?
    Kong, Xianglong
    Zhang, Lingming
    Wong, W. Eric
    Li, Bixin
    2015 IEEE 26TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2015, : 194 - 204
  • [26] Towards Program Optimization through Automated Analysis of Numerical Precision
    Linderman, Michael D.
    Ho, Matthew
    Dill, David L.
    Meng, Teresa H.
    Nolan, Garry P.
    CGO 2010: THE EIGHTH INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, PROCEEDINGS, 2010, : 230 - +
  • [27] Towards More Sophisticated Static Analysis Methods of Python']Python Programs
    Gulabovska, Hristina
    Porkolab, Zoltan
    2019 IEEE 15TH INTERNATIONAL SCIENTIFIC CONFERENCE ON INFORMATICS (INFORMATICS 2019), 2019, : 225 - 230
  • [28] FirmwareDroid: Towards Automated Static Analysis of Pre-Installed Android Apps
    Sutter, Thomas
    Tellenbach, Bernhard
    2023 IEEE/ACM 10TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS, MOBILESOFT, 2023, : 12 - 22
  • [29] Attention Please: Consider Mockito when Evaluating Newly Proposed Automated Program Repair Techniques
    Wang, Shangwen
    Wen, Ming
    Mao, Xiaoguang
    Yang, Deheng
    PROCEEDINGS OF EASE 2019 - EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING, 2019, : 260 - 266
  • [30] Toward a More Reliable System for Contingency Selection in Static Security Analysis of Electric Power Systems
    da Silva, Juarez Machado
    Costa, Iverson
    Canto dos Santos, Jose Vicente
    Victoria Barbosa, Jorge Luis
    Braun, Torsten
    Pessin, Gustavo
    IEEE SYSTEMS JOURNAL, 2020, 14 (01): : 1183 - 1194