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 条
  • [31] PROPR: Property-Based Automatic Program Repair
    Gissurarson, Matthias Pall
    Applis, Leonhard
    Panichella, Annibale
    van Deursen, Arie
    Sands, David
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 1768 - 1780
  • [32] DynaMoth: Dynamic Code Synthesis for Automatic Program Repair
    Durieux, Thomas
    Monperrus, Martin
    2016 IEEE/ACM 11TH INTERNATIONAL WORKSHOP IN AUTOMATION OF SOFTWARE TEST (AST), 2016, : 85 - 91
  • [33] Automatic Software Merging using Automated Program Repair
    Xing, Xiaoqian
    Maruyama, Katsuhisa
    2019 IEEE 1ST INTERNATIONAL WORKSHOP ON INTELLIGENT BUG FIXING (IBF '19), 2019, : 11 - 16
  • [34] A comprehensive study of automatic program repair on the QuixBugs benchmark
    Ye, He
    Martinez, Matias
    Durieux, Thomas
    Monperrus, Martin
    JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 171
  • [35] A Comprehensive Study of Automatic Program Repair on the QuixBugs Benchmark
    Ye, He
    Martinez, Matias
    Durieux, Thomas
    Monperrus, Martin
    2019 IEEE 1ST INTERNATIONAL WORKSHOP ON INTELLIGENT BUG FIXING (IBF '19), 2019, : 1 - 10
  • [36] Automatic Program Repair as Semantic Suggestions: An Empirical Study
    Campos, Diogo
    Restivo, Andre
    Ferreira, Hugo Sereno
    Ramos, Afonso
    2021 14TH IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2021), 2021, : 217 - 228
  • [37] Security risk scenarios and solutions in automatic program repair
    Huang, Yuming
    Ma, Jianfeng
    Liu, Zhiquan
    Wei, Kaimin
    Feng, Bingwen
    Xi'an Dianzi Keji Daxue Xuebao/Journal of Xidian University, 2019, 46 (06): : 147 - 154
  • [38] Towards Seamless Analysis of Software Interoperability: Automatic Identification of Conceptual Constraints in API Documentation
    Abukwaik, Hadil
    Abujayyab, Mohammed
    Rombach, Dieter
    Software Architecture, ECSA 2016, 2016, 9839 : 67 - 83
  • [39] Automated program repair: a step towards software automation
    Roychoudhury, Abhik
    Xiong, Yingfei
    SCIENCE CHINA-INFORMATION SCIENCES, 2019, 62 (10)
  • [40] Automated program repair: a step towards software automation
    Abhik Roychoudhury
    Yingfei Xiong
    Science China Information Sciences, 2019, 62