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
来源
2021 IEEE 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2021) | 2021年
关键词
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
相关论文
共 22 条
  • [21] Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-Shot Learning
    Xia, Chunqiu Steven
    Zhang, Lingming
    PROCEEDINGS OF THE 30TH ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2022, 2022, : 959 - 971
  • [22] Towards Efficient Large-Scale Interprocedural Program Static Analysis on Distributed Data-Parallel Computation
    Gu, Rong
    Zuo, Zhiqiang
    Jiang, Xi
    Yin, Han
    Wang, Zhaokang
    Wang, Linzhang
    Li, Xuandong
    Huang, Yihua
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2021, 32 (04) : 867 - 883