Towards API-Specific Automatic Program Repair

被引:0
|
作者
Nielebock, Sebastian [1 ]
机构
[1] Otto von Guericke Univ, Chair Software Engn, Fac Comp Sci, Magdeburg, Germany
关键词
Automatic Program Repair; API-specific Bugs; Specification Mining;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The domain of Automatic Program Repair (APR) had many research contributions in recent years. So far, most approaches target fixing generic bugs in programs (e.g., off-byone errors). Nevertheless, recent studies reveal that about 50% of real bugs require API-specific fixes (e.g., adding missing API method calls or correcting method ordering), for which existing APR approaches are not designed. In this paper, we address this problem and introduce the notion of an API-specific program repair mechanism. This mechanism detects erroneous code in a similar way to existing APR approaches. However, to fix such bugs, it uses API-specific information from the erroneous code to search for API usage patterns in other software, with which we could fix the bug. We provide first insights on the applicability of this mechanism and discuss upcoming research challenges.
引用
收藏
页码:1010 / 1013
页数:4
相关论文
共 50 条
  • [1] ASAP-Repair: API-Specific Automated Program Repair Based on API Usage Graphs
    Nielebock, Sebastian
    Blockhaus, Paul
    Kruger, Jacob
    Ortmeier, Frank
    2024 ACM/IEEE INTERNATIONAL WORKSHOP ON AUTOMATED PROGRAM REPAIR, APR 2024, 2024, : 1 - 4
  • [2] Evaluating Automatic Program Repair Capabilities to Repair API Misuses
    Kechagia, Maria
    Mechtaev, Sergey
    Sarro, Federica
    Harman, Mark
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2021, 48 (07) : 2658 - 2679
  • [3] Towards Efficient and Effective Automatic Program Repair
    Le, Xuan-Bach D.
    2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, : 876 - 879
  • [4] Automatic Program Repair
    Carver, Jeffrey
    Colomo-Palacios, Ricardo
    Larrucea, Xabier
    Staron, Miroslaw
    IEEE SOFTWARE, 2021, 38 (04) : 122 - 124
  • [5] BUGFIX: towards a common language and framework for the Automatic Program Repair community
    Meyer, Bertrand
    Kananchuk, Viktoryia
    Huang, Li
    2024 ACM/IEEE INTERNATIONAL WORKSHOP ON AUTOMATED PROGRAM REPAIR, APR 2024, 2024, : 9 - 13
  • [6] Towards Developer-Centered Automatic Program Repair: Findings from Bloomberg
    Winter, Emily Rowan
    Nowack, Vesna
    Bowes, David
    Counsell, Steve
    Hall, Tracy
    Haraldsson, Snmundur
    Woodward, John
    Kirbas, Serkan
    Windels, Etienne
    McBello, Olayori
    Atakishiyev, Abdurahman
    Kells, Kevin
    Pagano, Matthew
    PROCEEDINGS OF THE 30TH ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2022, 2022, : 1578 - 1588
  • [7] The Automatic Start Method of Application Program Using API
    Ma Jing Shandong Agriculture University Taian ChinaZhang Zhaochen Department of Information Science Taishan medical College Taian China
    微计算机信息, 2003, (04) : 65 - 66
  • [8] Towards Automatic Program Partitioning
    Rul, Sean
    Vandierendonck, Hans
    De Bosschere, Koen
    CF'09: CONFERENCE ON COMPUTING FRONTIERS & WORKSHOPS, 2009, : 89 - 98
  • [9] Program Repair and Trusted Automatic Programming
    Roychoudhury, Abhik
    PROCEEDINGS OF THE 17TH INNOVATIONS IN SOFTWARE ENGINEERING CONFERENCE, ISEC 2024, 2024,
  • [10] Automatic Program Repair by Fixing Contracts
    Pei, Yu
    Furia, Carlo A.
    Nordio, Martin
    Meyer, Bertrand
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2014, 2014, 8411 : 246 - 260