题名 | History-Driven Test Program Synthesis for JVM Testing |
作者 | |
DOI | |
发表日期 | 2022
|
会议名称 | ACM/IEEE 44th International Conference on Software Engineering (ICSE)
|
ISSN | 0270-5257
|
ISBN | 978-1-6654-9589-9
|
会议录名称 | |
卷号 | 2022-May
|
页码 | 1133-1144
|
会议日期 | 25-27 May 2022
|
会议地点 | Pittsburgh, PA, USA
|
出版地 | 10662 LOS VAQUEROS CIRCLE, PO BOX 3014, LOS ALAMITOS, CA 90720-1264 USA
|
出版者 | |
摘要 | Java Virtual Machine (JVM) provides the runtime environment for Java programs, which allows Java to be "write once, run anywhere". JVM plays a decisive role in the correctness of all Java programs running on it. Therefore, ensuring the correctness and robustness of JVM implementations is essential for Java programs. To date, various techniques have been proposed to expose JVM bugs via generating potential bug-revealing test programs. However, the diversity and effectiveness of test programs generated by existing research are far from enough since they mainly focus on minor syntactic/semantic mutations. In this paper, we propose JavaTailor, the first history-driven test program synthesis technique, which synthesizes diverse test programs by weaving the ingredients extracted from JVM historical bug-revealing test programs into seed programs for covering more JVM behaviors/paths. More specifically, JavaTailor first extracts five types of code ingredients from the historical bug-revealing test programs. Then, to synthesize diverse test programs, it iteratively inserts the extracted ingredients into the seed programs and strengthens their interactions via introducing extra data dependencies between them. Finally, JavaTailor employs these synthesized test programs to differentially test JVMs. Our experimental results on popular JVM implementations (i.e., HotSpot and OpenJ9) show that JavaTailor outperforms the state-of-the-art technique in generating more diverse and effective test programs, e.g., test programs generated by JavaTailor can achieve higher JVM code coverage and detect many more unique inconsistencies than the state-of-the-art technique. Furthermore, JavaTailor has detected 10 previously unknown bugs, 6 of which have been confirmed/fixed by developers. |
关键词 | |
学校署名 | 其他
|
语种 | 英语
|
相关链接 | [IEEE记录] |
收录类别 | |
资助项目 | National Natural Science Foundation of China["62002256","61872263"]
; Tianjin Intelligent Manufacturing Special Fund Project[20201180]
; National Science Foundation["CCF-2131943","CCF-2141474"]
|
WOS研究方向 | Computer Science
|
WOS类目 | Computer Science, Software Engineering
; Computer Science, Theory & Methods
|
WOS记录号 | WOS:000832185400092
|
EI入藏号 | 20222812334110
|
EI主题词 | Java programming language
; Network security
; Program compilers
; Program debugging
; Software testing
; Testing
; Virtual machine
|
EI分类号 | Computer Software, Data Handling and Applications:723
; Computer Programming:723.1
; Computer Programming Languages:723.1.1
; Computer Applications:723.5
; Numerical Methods:921.6
|
来源库 | Web of Science
|
全文链接 | https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=9794053 |
引用统计 |
被引频次[WOS]:31
|
成果类型 | 会议论文 |
条目标识符 | http://sustech.caswiz.com/handle/2SGJ60CL/347991 |
专题 | 南方科技大学 |
作者单位 | 1.College of Intelligence and Computing, Tianjin University,China 2.Southern University of Science and Technology,China 3.University of Illinois Urbana-Champaign,United States |
推荐引用方式 GB/T 7714 |
Yingquan Zhao,Zan Wang,Junjie Chen,et al. History-Driven Test Program Synthesis for JVM Testing[C]. 10662 LOS VAQUEROS CIRCLE, PO BOX 3014, LOS ALAMITOS, CA 90720-1264 USA:IEEE COMPUTER SOC,2022:1133-1144.
|
条目包含的文件 | 条目无相关文件。 |
|
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论