Compatibility Issue Detection for Android Apps Based on Path-Sensitive Semantic Analysis
Sen Yang, Sen Chen, Lingling Fan, Sihan Xu, Zhanwei Hui, Song Huang
摘要
Android API-related compatibility issues have be-come a severe problem and significant challenge for app devel-opers due to the well-known Android fragmentation issues. To address this problem, many effective approaches such as app-based and API lifetime-based methods have been proposed to identify incompatible API usages. However, due to the various implementations of API usages and different API invoking paths, there is still a significant weakness of existing approaches, i.e., introducing a massive number of false positives (FP) and false negatives (FN). To this end, in this paper, we propose PSDroid, an automated compatibility detection approach for Android apps, which aims to reduce FPs and FNs by overcoming several technical bottlenecks. Firstly, we make substantial efforts to carry out a preliminary study to summarize a set of novel API usages with diverse checking implementations. Secondly, we construct a refined API lifetime database by leveraging a semantic resolving analysis on all existing Android SDK frameworks. Based on the above two key phases, we design and implement a novel path-sensitive semantic approach to effectively and automatically detect incompatibility issues. To demonstrate the performance, we compared with five existing approaches (i.e., FicFinder, ACRYL, CIDER, IctAPIFinder, and CID) and the results show that PSDroid outperforms existing tools. We also conducted an in-depth root cause analysis to comprehensively explain the ability of PSDroid in reducing FPs and FNs. Finally, 18/30 reported issues have been confirmed and further fixed by app developers.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study) 引用了 How Android developers handle evolution-induced API compatibility issues: a large-scale study
- Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study) 引用了 Towards Automatically Repairing Compatibility Issues in Published Android Apps
- Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study) 引用了 Benchmarking automated GUI testing for Android against real-world bugs
- Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs 引用了 Benchmarking automated GUI testing for Android against real-world bugs
- Towards Automatically Repairing Compatibility Issues in Published Android Apps 引用了 How Android developers handle evolution-induced API compatibility issues: a large-scale study
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs 引用了 Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs 引用了 Towards Automatically Repairing Compatibility Issues in Published Android Apps
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs 引用了 Automated and Context-Aware Repair of Color-Related Accessibility Issues for Android Apps
- Why the Proof Fails in Different Versions of Theorem Provers: An Empirical Study of Compatibility Issues in Isabelle 引用了 Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study)
- Scene-Driven Exploration and GUI Modeling for Android Apps 引用了 Benchmarking automated GUI testing for Android against real-world bugs
- Automated and Context-Aware Repair of Color-Related Accessibility Issues for Android Apps 引用了 Scene-Driven Exploration and GUI Modeling for Android Apps
引用它的顶会 Paper4
- Automated and Context-Aware Repair of Color-Related Accessibility Issues for Android AppsYuxin Zhang, Sen Chen, Lingling Fan, Chunyang Chen 等FSE 2023 · 21 次引用
- Scene-Driven Exploration and GUI Modeling for Android AppsXiangyu Zhang, Lingling Fan, Sen Chen, Yucheng Su 等ASE 2023 · 14 次引用
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific BugsRuofan Liu, Xiwen Teoh, Yun Lin, Guanjie Chen 等ISSTA 2025 · 5 次引用
- Why the Proof Fails in Different Versions of Theorem Provers: An Empirical Study of Compatibility Issues in IsabelleXiaokun Luan, David Sanán, Zhe Hou, Qiyuan Xu 等FSE 2025 · 1 次引用
它引用的 Paper5
- Benchmarking automated GUI testing for Android against real-world bugsTing Su, Jue Wang, Zhendong SuFSE 2021 · 77 次引用
- Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugsTing Su, Yichen Yan, Jue Wang, Jingling Sun 等OOPSLA 2021 · 58 次引用
- How Android developers handle evolution-induced API compatibility issues: a large-scale studyHao Xia, Yuan Zhang, Yingtian Zhou, Xiaoting Chen 等ICSE 2020 · 38 次引用
- Towards Automatically Repairing Compatibility Issues in Published Android AppsYanjie Zhao, Li Li, Kui Liu, John C. GrundyICSE 2022 · 25 次引用
- 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 次引用
相关 Paper
- Mining Android API Usage to Generate Unit Test Cases for Pinpointing Compatibility IssuesXiaoyu Sun, Xiao Chen, Yanjie Zhao, Pei Liu 等ASE 2022 · 16 次引用
- Characterizing and Detecting Configuration Compatibility Issues in Android AppsHuaxun Huang, Ming Wen, Lili Wei, Yepang Liu 等ASE 2021 · 15 次引用
- PacDroid: A Pointer-Analysis-Centric Framework for Security Vulnerabilities in Android AppsMenglong Chen, Tian Tan, Minxue Pan, Yue LiICSE 2025 · 1 次引用
- AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency DetectionYousra Aafer, Jianjun Huang, Yi Sun, Xiangyu Zhang 等NDSS 2018 · 95 次引用
- Has My Release Disobeyed Semantic Versioning? Static Detection Based on Semantic DifferencingLyuye Zhang, Chengwei Liu, Zhengzi Xu, Sen Chen 等ASE 2022 · 30 次引用
