题名 | Ï TEST: WebView-Oriented Testing for Android Applications |
作者 | |
DOI | |
发表日期 | 2023
|
会议名称 | 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA)
|
会议录名称 | |
会议日期 | JUL 17-21, 2023
|
会议地点 | null,Seattle,WA
|
出版地 | 1601 Broadway, 10th Floor, NEW YORK, NY, UNITED STATES
|
出版者 | |
摘要 | WebView is a UI widget that helps integrate web applications into the native context of Android apps. It provides powerful mechanisms for bi-directional interactions between the native-end (Java) and the web-end (JavaScript) of an Android app. However, these interaction mechanisms are complicated and have induced various types of bugs. To mitigate the problem, various techniques have been proposed to detect WebView-induced bugs via dynamic analysis, which heavily relies on executing tests to explore WebView behaviors. Unfortunately, these techniques either require manual effort or adopt random test generation approaches, which are not able to effectively explore diverse WebView behaviors. In this paper, we study the problem of test generation for WebViews in Android apps. Effective test generation for WebViews requires identifying the essential program properties to be covered by the generated tests. To this end, we propose WebView-specific properties to characterize WebView behaviors, and devise a cross-language dynamic analysis method to identify these properties. We develop omega TEST, a test generation technique that searches for event sequences covering the identified WebView-specific properties. An evaluation on 74 real-world open-/closed-source Android apps shows that omega TEST can cover diverse WebView behaviors and detect WebView-induced bugs effectively. omega TEST detected 36 previously-unknown bugs. From the 22 bugs that we have reported to the app developers, 13 bugs were confirmed, 9 of which were fixed. |
关键词 | |
学校署名 | 其他
|
语种 | 英语
|
相关链接 | [来源记录] |
收录类别 | |
资助项目 | National Natural Science Foundation of China[61932021]
|
WOS研究方向 | Computer Science
|
WOS类目 | Computer Science, Software Engineering
; Computer Science, Theory & Methods
|
WOS记录号 | WOS:001122661400080
|
来源库 | Web of Science
|
引用统计 |
被引频次[WOS]:0
|
成果类型 | 会议论文 |
条目标识符 | http://sustech.caswiz.com/handle/2SGJ60CL/559841 |
专题 | 工学院_计算机科学与工程系 |
作者单位 | 1.The Hong Kong University of Science and Technology,Hong Kong,Hong Kong 2.McGill University,Montreal,Canada 3.Southern University of Science and Technology,Shenzhen,China 4.Department of Computer Science and Engineering,The Research Institute of Trustworthy Autonoumous Systems,Southern University of Science and Technology,China |
推荐引用方式 GB/T 7714 |
Hu,Jiajun,Wei,Lili,Liu,Yepang,et al. Ï TEST: WebView-Oriented Testing for Android Applications[C]. 1601 Broadway, 10th Floor, NEW YORK, NY, UNITED STATES:ASSOC COMPUTING MACHINERY,2023.
|
条目包含的文件 | 条目无相关文件。 |
|
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论