| 注册
首页|期刊导航|计算机科学与探索|覆盖导向的Android程序多入口测试方法

覆盖导向的Android程序多入口测试方法

傅洁 郭帆

计算机科学与探索2025,Vol.19Issue(6):1666-1680,15.
计算机科学与探索2025,Vol.19Issue(6):1666-1680,15.DOI:10.3778/j.issn.1673-9418.2407031

覆盖导向的Android程序多入口测试方法

Coverage-Guided Multi-entry Testing for Android Applications

傅洁 1郭帆1

作者信息

  • 1. 江西师范大学 计算机信息工程学院,南昌 330022
  • 折叠

摘要

Abstract

Improving the quality of Android applications is a significant challenge in the mobile device domain.Activity launch is one of the core functions of an application,and its correctness and reliability will directly affect the user experi-ence and application quality.Recent research indicates that constructing intent test cases can effectively detect issues related to activity launching tests.However,existing solutions still face limitations regarding exploration efficiency and discovering deep crashes.To address these issues,this paper proposes a novel solution called CoMuBot.Firstly,this paper analyzes path constraints to generate appropriate attribute values for intents and combines intent fuzzing techniques to construct fuzzed activity launch contexts,thereby enhancing path coverage and the diversity of test cases.Subsequently,this paper designs a dynamic activity recommendation algorithm and combines it with the state-of-the-art exploration tool APE to achieve an adaptive multi-entry exploration strategy.Finally,incorporating the coverage-guided grey-box fuzzing idea,this paper implements an efficient coverage-guided multi-entry testing method.Experimental results show that the pro-posed method outperforms the tool Fax regarding exploration efficiency and activity launch accuracy,with a 25.63%in-crease in method coverage and a high accuracy rate of 96.52%in successfully launching 62.23%of activities.Meanwhile,CoMuBot demonstrates certain advantages over Fax in detecting unique crashes,effectively enhancing the stability and reliability of the application.

关键词

自动化图形用户界面测试/组件间通信(ICC)/模糊测试/符号执行/移动应用程序

Key words

automated graphical user interface testing/inter-component communication(ICC)/fuzzing/symbolic execu-tion/mobile applications

分类

信息技术与安全科学

引用本文复制引用

傅洁,郭帆..覆盖导向的Android程序多入口测试方法[J].计算机科学与探索,2025,19(6):1666-1680,15.

基金项目

国家自然科学基金(61967011). This work was supported by the National Natural Science Foundation of China(61967011). (61967011)

计算机科学与探索

OA北大核心

1673-9418

访问量4
|
下载量0
段落导航相关论文