Angelix: Scalable Multiline Program Patch Synthesis via Symbolic Analysis

被引:304
作者
Mechtaev, Sergey [1 ]
Yi, Jooyong [1 ]
Roychoudhury, Abhik [1 ]
机构
[1] Natl Univ Singapore, Sch Comp, Singapore, Singapore
来源
2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE) | 2016年
基金
新加坡国家研究基金会;
关键词
Program repair; Scalable semantics-based repair; Multi-line patch; Angelic forest;
D O I
10.1145/2884781.2884807
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Since debugging is a time-consuming activity, automated program repair tools such as GenProg have garnered interest. A recent study revealed that the majority of GenProg repairs avoid bugs simply by deleting functionality. We found that SPR, a state-of-the-art repair tool proposed in 2015, still deletes functionality in their many \ plausible" repairs. Unlike generate-and-validate systems such as GenProg and SPR, semantic analysis based repair techniques synthesizea repair based on semantic information of the program. While such semantics-based repair methods show promise in terms of quality of generated repairs, their scalability has been a concern so far. In this paper, we present Angelix, a novel semantics-based repair method that scales up to programs of similar size as are handled by search-based repair tools such as GenProg and SPR. This shows that Angelix is more scalable than previously proposed semantics based repair methods such as SemFix and DirectFix. Furthermore, our repair method can repair multiple buggy locations that are dependent on each other. Such repairs are hard to achieve using SPR and GenProg. In our experiments, Angelix generated repairs from large-scale real-world software such as wireshark and php, and these generated repairs include multi-location repairs. We also report our experience in automatically repairing the well-known Heartbleed vulnerability.
引用
收藏
页码:691 / 701
页数:11
相关论文
共 38 条
[1]  
[Anonymous], 2006, P 2006 INT S SOFTWAR
[2]  
[Anonymous], 2013, ICSE
[3]  
Bohme Marcel, 2014, INT S SOFTWARE TESTI, P105
[4]  
Cadar C., 2008, Proceedings of the 8th USENIX conference on Operating systems design and implementation, OSDI'08, (USA), P209
[5]  
Carbin M, 2011, LECT NOTES COMPUT SC, V6813, P609, DOI 10.1007/978-3-642-22655-7_28
[6]  
Chandra S, 2011, 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), P121, DOI 10.1145/1985793.1985811
[7]   Pinpoint: Problem determination in large, dynamic Internet services [J].
Chen, MY ;
Kiciman, E ;
Fratkin, E ;
Fox, A ;
Brewer, E .
INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, PROCEEDINGS, 2002, :595-604
[8]  
DeMarco Favio, 2014, P 6 INT WORKSHOP CON, P30
[9]  
Elkarablieh B, 2008, ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P855, DOI 10.1145/1368088.1368222
[10]   Fixing Recurring Crash Bugs via Analyzing Q&A Sites [J].
Gao, Qing ;
Zhang, Hansheng ;
Wang, Jie ;
Xiong, Yingfei ;
Zhang, Lu ;
Mei, Hong .
2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, :307-318