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 条
  • [21] Human-in-the-Loop Automatic Program Repair
    Geethal, Charaka
    Bohme, Marcel
    Pham, Van-Thuan
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (10) : 4526 - 4549
  • [22] On the Evaluation of Automatic Program Repair Techniques and Tools
    Khalilian, Alireza
    Baraani-Dastjerdi, Ahmad
    Zamani, Bahman
    2016 24TH IRANIAN CONFERENCE ON ELECTRICAL ENGINEERING (ICEE), 2016, : 61 - 66
  • [23] Automatic Program Repair: Key Problems and Technologies
    Li B.
    He Y.-P.
    Ma H.-T.
    Ruan Jian Xue Bao/Journal of Software, 2019, 30 (02): : 244 - 265
  • [24] Towards Automatic Repair of Access Control Policies
    Xu, Dianxiang
    Peng, Shuai
    2016 14TH ANNUAL CONFERENCE ON PRIVACY, SECURITY AND TRUST (PST), 2016,
  • [25] Towards Low-Resource Automatic Program Repair with Meta-Learning and Pretrained Language Models
    Wang, Weishi
    Wang, Yue
    Hoi, Steven C. H.
    Joty, Shafiq
    2023 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING, EMNLP 2023, 2023, : 6954 - 6968
  • [26] Automatic Detection and Repair Recommendation of Directive Defects in Java']Java API Documentation
    Zhou, Yu
    Wang, Changzhi
    Yan, Xin
    Chen, Taolue
    Panichella, Sebastiano
    Gall, Harald
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2020, 46 (09) : 1004 - 1023
  • [27] Towards an Automatic Approach for Assessing Program Competencies
    Chang, Xinyuan
    Wang, Bingxin
    Hui, Bowen
    LAK22 CONFERENCE PROCEEDINGS: THE TWELFTH INTERNATIONAL CONFERENCE ON LEARNING ANALYTICS & KNOWLEDGE, 2022, : 119 - 129
  • [28] SPANL: Creating Algorithms for Automatic API Misuse Detection with Program Analysis Compositions
    Rahaman, Sazzadur
    Frantz, Miles
    Miller, Barton
    Yao, Danfeng
    APPLIED CRYPTOGRAPHY AND NETWORK SECURITY WORKSHOPS, ACNS 2023 SATELLITE WORKSHOPS, ADSC 2023, AIBLOCK 2023, AIHWS 2023, AIOTS 2023, CIMSS 2023, CLOUD S&P 2023, SCI 2023, SECMT 2023, SIMLA 2023, 2023, 13907 : 515 - 529
  • [29] Expanding Fix Patterns to Enable Automatic Program Repair
    Nowack, Vesna
    Bowes, David
    Counsell, Steve
    Hall, Tracy
    Haraldsson, Saemundur
    Winter, Emily
    Woodward, John
    2021 IEEE 32ND INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2021), 2021, : 12 - 23
  • [30] Leveraging Causal Inference for Explainable Automatic Program Repair
    Wang, Jianzong
    Si, Shijing
    Zhu, Zhitao
    Qu, Xiaoyang
    Hong, Zhenhou
    Xiao, Jing
    2022 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2022,