arrow
返回

Accelerating Patch Validation for Program Repair With Interception-Based Execution Scheduling

delete2024-03-01
delete1
delete
OA
AI
Y
Yuan-an Xiao
C
Chenyang Yang
B
Bo Wang
Yingfei Xiong 封面图
Yingfei Xiong (Yingfei Xiong) *
DOI:10.1109/TSE.2024.3359969delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Long patch validation time is a limiting factor for automated program repair (APR). Though the duality between patch validation and mutation testing is recognized, so far there exists no study of systematically adapting mutation testing techniques to general-purpose patch validation. To address this gap, we investigate existing mutation testing techniques and identify five classes of acceleration techniques that are suitable for general-purpose patch validation. Among them, mutant schemata and mutant deduplication have not been adapted to general-purpose patch validation due to the arbitrary changes that third-party APR approaches may introduce. This presents two problems for adaption: 1) the difficulty of implementing the static equivalence analysis required by the state-of-the-art mutant deduplication approach; 2) the difficulty of capturing the changes of patches to the system state at runtime. To overcome these problems, we propose two novel approaches: 1) execution scheduling, which detects the equivalence between patches online, avoiding the static equivalence analysis and its imprecision; 2) interception-based instrumentation, which intercepts the changes of patches to the system state, avoiding a full interpreter and its overhead. Based on the contributions above, we implement ExpressAPR, a general-purpose patch validator for Java that integrates all recognized classes of techniques suitable for patch validation. Our large-scale evaluation with four APR approaches shows that ExpressAPR accelerates patch validation by 137.1x over plain validation or 8.8x over the state-of-the-art approach, making patch validation no longer the time bottleneck of APR. Patch validation time for a single bug can be reduced to within a few minutes on mainstream CPUs.
Keyword:
Testing
Maintenance engineering
Life estimation
Computer bugs
Runtime
Instruments
Codes
Automated program repair
patch validation
Identifying Incorrect Patches in Program Repair Based on Meaning of Source Code
err2022-01-01
err5
errOAAI
errQuang-Ngoc Phung; Kim, Misoo; Lee, Eunseok
err分享
err收藏
SOSRepair: Expressive Semantic Search for Real-World Program Repair
err2021-10-01
err20
errOAAI
errAfzal, Afsoon; Motwani, Manish; Stolee, Kathryn T.; Brun, Yuriy; Le Goues, Claire
err分享
err收藏
A comprehensive study of code-removal patches in automated program repair
err2022-05-05
err3
errOAAI
errGinelli, Davide; Martinez, Matias; Mariani, Leonardo; Monperrus, Martin
err分享
err收藏

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
3.0K
被引数:
1.3W

机构

北京大学 封面图
北京大学
学者数:
9.2K
论文数: 2.8K
被引数: 7.1W
北京交通大学 封面图
北京交通大学
学者数:
2.9K
论文数: 963
被引数: 1.2W
引用论文

引用论文

Geopolitics and discourse地缘政治与话语
err1992-03-01
err0
PREAI
errGearóid Ó Tuathail; John Agnew
err分享
err收藏
Boids in a loop: Self-propelled particles within a flexible boundary
err2020-05-27
err0
errOAAI
errA. C. Quillen; J. P. Smucker; A. Peshkov
err分享
err收藏
Structure and function of negative-strand RNA virus polymerase complexes
err2021-01-01
err0
PREAI
errJesse D. Pyle; Sean P.J. Whelan; Louis-Marie Bloyet
err分享
err收藏
Ultra-low-temperature cooling of two-dimensional electron gas
err2000-05-01
err0
PREAI
errJ.S Xia; E.D Adams; V Shvarts; W Pan; H.L Stormer; D.C Tsui
err分享
err收藏
Autophagy protects against PI3K/Akt/mTOR-mediated apoptosis of spinal cord neurons after mechanical injury
err2017-08-01
err0
PREAI
errZhenYu Wang; LinQuan Zhou; XiaoTing Zheng; Gang Chen; RongFeng Pan; JinHuang Li; WenGe Liu
err分享
err收藏
Ureteral quadruplication: The fourth case report
err1994-12-01
err0
PREAI
errS. Sourtzis; N. Damry; F. Janssen; N. Perlmutter
err分享
err收藏
学者 查看更多内容