Detecting and fixing data loss issues in Android apps
Wunan Guo, Zhen Dong, Liwei Shen, Wei Tian, Ting Su, Xin Peng
摘要
Android apps are event-driven, and their execution is often interrupted by external events. This interruption can cause data loss issues that annoy users. For instance, when the screen is rotated, the current app page will be destroyed and recreated. If the app state is improperly preserved, user data will be lost. In this work, we present an approach and tool iFixDataloss that automatically detects and fixes data loss issues in Android apps. To achieve this, we identify scenarios in which data loss issues may occur, develop strategies to reveal data loss issues, and design patch templates to fix them. Our experiments on 66 Android apps show iFixDataloss detected 374 data loss issues (284 of them were previously unknown) and successfully generated patches for 188 of the 374 issues. Out of 20 submitted patches, 16 have been accepted by developers. In comparison with state-of-the-art techniques, iFixDataloss performed significantly better in terms of the number of detected data loss issues and the quality of generated patches.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps 引用了 Data loss detector: automatically revealing data loss bugs in Android apps
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps 引用了 An Empirical Study of Functional Bugs in Android Apps
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps 引用了 Time-travel testing of Android apps
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps 引用了 Understanding and finding system setting-related defects in Android apps
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps 引用了 ComboDroid: generating high-quality test inputs for Android apps via use case combinations
- An Empirical Study of Functional Bugs in Android Apps 引用了 LiveDroid: identifying and preserving mobile app state in volatile runtime environments
- An Empirical Study of Functional Bugs in Android Apps 引用了 Data loss detector: automatically revealing data loss bugs in Android apps
- An Empirical Study of Functional Bugs in Android Apps 引用了 Understanding and finding system setting-related defects in Android apps
- General and Practical Property-based Testing for Android Apps 引用了 Data loss detector: automatically revealing data loss bugs in Android apps
- General and Practical Property-based Testing for Android Apps 引用了 Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps
- General and Practical Property-based Testing for Android Apps 引用了 An Empirical Study of Functional Bugs in Android Apps
- General and Practical Property-based Testing for Android Apps 引用了 Understanding and finding system setting-related defects in Android apps
- LLM Based Input Space Partitioning Testing for Library APIs 引用了 Time-travel testing of Android apps
- LLM Based Input Space Partitioning Testing for Library APIs 引用了 Understanding and finding system setting-related defects in Android apps
- Understanding and finding system setting-related defects in Android apps 引用了 Data loss detector: automatically revealing data loss bugs in Android apps
- Understanding and finding system setting-related defects in Android apps 引用了 Time-travel testing of Android apps
引用它的顶会 Paper7
- An Empirical Study of Functional Bugs in Android AppsYiheng Xiong, Mengqian Xu, Ting Su, Jingling Sun 等ISSTA 2023 · 40 次引用
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android AppsJingling Sun, Ting Su, Jiayi Jiang, Jue Wang 等FSE 2023 · 16 次引用
- General and Practical Property-based Testing for Android AppsYiheng Xiong, Ting Su, Jue Wang, Jingling Sun 等ASE 2024 · 5 次引用
- LLM Based Input Space Partitioning Testing for Library APIsJiageng Li, Zhen Dong, Chong Wang, Haozhen You 等ICSE 2025 · 2 次引用
- Automated Repair of Information Flow Security in Android Implicit Inter-App CommunicationAbhishek Tiwari, Jyoti Prakash, Zhen Dong, Carlo A. FuriaFM 2024
它引用的 Paper5
- Time-travel testing of Android appsZhen Dong, Marcel Böhme, Lucia Cojocaru, Abhik RoychoudhuryICSE 2020 · 104 次引用
- ComboDroid: generating high-quality test inputs for Android apps via use case combinationsJue Wang, Yanyan Jiang, Chang Xu, Chun Cao 等ICSE 2020 · 61 次引用
- Understanding and finding system setting-related defects in Android appsJingling Sun, Ting Su, Junxin Li, Zhen Dong 等ISSTA 2021 · 35 次引用
- Data loss detector: automatically revealing data loss bugs in Android appsOliviero Riganelli, Simone Paolo Mottadelli, Claudio Rota, Daniela Micucci 等ISSTA 2020 · 28 次引用
- LiveDroid: identifying and preserving mobile app state in volatile runtime environmentsUmar Farooq, Zhijia Zhao, Manu Sridharan, Iulian NeamtiuOOPSLA 2020 · 15 次引用
相关 Paper
- DDLDroid: Efficiently Detecting Data Loss Issues in Android AppsYuhao Zhou, Wei SongISSTA 2023 · 1 次引用
- Towards Automatically Repairing Compatibility Issues in Published Android AppsYanjie Zhao, Li Li, Kui Liu, John C. GrundyICSE 2022 · 25 次引用
- ConfFix: Repairing Configuration Compatibility Issues in Android AppsHuaxun Huang, Chi Xu, Ming Wen, Yepang Liu 等ISSTA 2023 · 10 次引用
- Uncovering Intent based Leak of Sensitive Data in Android FrameworkHao Zhou, Xiapu Luo, Haoyu Wang, Haipeng CaiCCS 2022 · 9 次引用
- Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study)Pei Liu, Yanjie Zhao, Haipeng Cai, Mattia Fazzini 等ISSTA 2022 · 21 次引用
