一句话:提出 SceneDroid,以场景驱动探索动态抽取 Android 应用 GUI 场景并构建场景转换图,显著提升覆盖与粒度。
移动应用在竞争压力下功能与 UI 页面日趋复杂,给设计、理解、测试与维护带来困难。现有 UI 探索方法提取的 ATG、WTG、STG 等转换图存在转换覆盖低、粒度粗的问题,限制了 GUI 建模效果。为此,论文提出 SceneDroid,一种场景驱动的探索方法,融合智能探索、状态模糊测试(state fuzzing)与间接启动策略,动态抽取 GUI 场景,并以场景转换图(SceneTG)来建模应用 GUI,从而获得高转换覆盖与细粒度。与现有 GUI 建模工具相比,SceneDroid 在转换对覆盖上提升 168.74%,在场景抽取上提升 162.42%。除有效性评估外,论文还展示了 SceneDroid 作为基础能力在应用开发、逆向工程与 GUI 回归测试中的潜在价值。
Due to the competitive environment, mobile apps are usually produced under pressure with lots of complicated functionality and UI pages. Therefore, it is challenging for various roles to design, understand, test, and maintain these apps. The extracted transition graphs for apps such as ATG, WTG, and STG have a low transition coverage and coarse-grained granularity, which limits the existing methods of graphical user interface (GUI) modeling by UI exploration. To solve these problems, in this paper, we propose SceneDroid, a scene-driven exploration approach to extracting the GUI scenes dynamically by integrating a series of novel techniques including smart exploration, state fuzzing, and indirect launching strategies. We present the GUI scenes as a scene transition graph (SceneTG) to model the GUI of apps with high transition coverage and fine-grained granularity. Compared with the existing GUI modeling tools, SceneDroid has improved by 168.74% in the coverage of transition pairs and 162.42% in scene extraction. Apart from the effectiveness evaluation of SceneDroid, we also illustrate the future potential of SceneDroid as a fundamental capability to support app development, reverse engineering, and GUI rearession testing.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@inproceedings{ZhangFCSL23,
title = {Scene-Driven Exploration and GUI Modeling for Android Apps},
author = {Xiangyu Zhang and Lingling Fan and Sen Chen and Yucheng Su and Boyuan Li},
booktitle = {ASE},
year = {2023},
doi = {10.1109/ase56229.2023.00179}
}