Lune

FSE2022顶会

Detecting non-crashing functional bugs in Android apps via deep-state differential analysis

Jue Wang, Yanyan Jiang, Ting Su, Shaohua Li, Chang Xu, Jian Lu, Zhendong Su

摘要

Non-crashing functional bugs of Android apps can seriously affect user experience. Often buried in rare program paths, such bugs are difficult to detect but lead to severe consequences. Unfortunately, very few automatic functional bug oracles for Android apps exist, and they are all specific to limited types of bugs. In this paper, we introduce a novel technique named deep-state differential analysis, which brings the classical "bugs as deviant behaviors" oracle to Android apps as a generic automatic test oracle. Our oracle utilizes the observations on the execution of automatically generated test inputs that (1) there can be a large number of traces reaching internal app states with similar GUI layouts, and only a small portion of them would reach an erroneous app state, and (2) when performing the same sequence of actions on similar GUI layouts, the outcomes will be limited. Therefore, for each set of test inputs terminating at similar GUI layouts, we manifest comparable app behaviors by appending the same events to these inputs, cluster the manifested behaviors, and identify minorities as possible anomalies. We also calibrate the distribution of these test inputs by a novel input calibration procedure, to ensure the distribution of these test inputs is balanced with rare bug occurrences.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • 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 引用了 Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs
  • 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 引用了 Benchmarking automated GUI testing for Android against real-world bugs
  • 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 引用了 Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs
  • An Empirical Study of Functional Bugs in Android Apps 引用了 Understanding and finding system setting-related defects in Android apps
  • An Empirical Study of Functional Bugs in Android Apps 引用了 Benchmarking automated GUI testing for Android against real-world bugs
  • Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps 引用了 An Empirical Study of Functional 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 引用了 Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs
  • General and Practical Property-based Testing for Android Apps 引用了 Understanding and finding system setting-related defects in Android apps
  • General and Practical Property-based Testing for Android Apps 引用了 Benchmarking automated GUI testing for Android against real-world bugs
  • Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs 引用了 Understanding and finding system setting-related defects in Android apps
  • Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs 引用了 Benchmarking automated GUI testing for Android against real-world bugs
  • Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs 引用了 ComboDroid: generating high-quality test inputs for Android apps via use case combinations
  • GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs 引用了 Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps
  • GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs 引用了 An Empirical Study of Functional Bugs in Android Apps
  • 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
  • Benchmarking automated GUI testing for Android against real-world bugs 引用了 Understanding and finding system setting-related defects in Android apps
  • Benchmarking automated GUI testing for Android against real-world bugs 引用了 ComboDroid: generating high-quality test inputs for Android apps via use case combinations
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. An Empirical Study of Functional Bugs in Android AppsYiheng Xiong, Mengqian Xu, Ting Su, Jingling Sun 等ISSTA 2023 · 40 次引用
  2. Property-Based Fuzzing for Finding Data Manipulation Errors in Android AppsJingling Sun, Ting Su, Jiayi Jiang, Jue Wang 等FSE 2023 · 16 次引用
  3. Feedback-Driven Automated Whole Bug Report Reproduction for Android AppsDingbang Wang, Yu Zhao, Sidong Feng, Zhaoxu Zhang 等ISSTA 2024 · 16 次引用
  4. General and Practical Property-based Testing for Android AppsYiheng Xiong, Ting Su, Jue Wang, Jingling Sun 等ASE 2024 · 5 次引用
  5. GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific BugsRuofan Liu, Xiwen Teoh, Yun Lin, Guanjie Chen 等ISSTA 2025 · 5 次引用

它引用的 Paper5

  1. Benchmarking automated GUI testing for Android against real-world bugsTing Su, Jue Wang, Zhendong SuFSE 2021 · 77 次引用
  2. ComboDroid: generating high-quality test inputs for Android apps via use case combinationsJue Wang, Yanyan Jiang, Chang Xu, Chun Cao 等ICSE 2020 · 61 次引用
  3. Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugsTing Su, Yichen Yan, Jue Wang, Jingling Sun 等OOPSLA 2021 · 58 次引用
  4. Understanding and finding system setting-related defects in Android appsJingling Sun, Ting Su, Junxin Li, Zhen Dong 等ISSTA 2021 · 35 次引用
  5. An infrastructure approach to improving effectiveness of Android UI testing toolsWenyu Wang, Wing Lam, Tao XieISSTA 2021 · 33 次引用

相关 Paper

  1. FuncDroid: Towards Inter-functional Flows for Comprehensive Mobile App GUI TestingJinlong He, Changwei Xia, Binru Huang, Jiwei Yan 等ISSTA 2026
  2. Automata-Based Trace Analysis for Aiding Diagnosing GUI Testing Tools for AndroidEnze Ma, Shan Huang, Weigang He, Ting Su 等FSE 2023 · 3 次引用
  3. From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired TracingMengzhuo Chen, Zhe Liu, Chunyang Chen, Junjie Wang 等FSE 2026
  4. Deep GUI: Black-box GUI Input Generation with Deep LearningFaraz Yazdani Banafshe Daragh, Sam MalekASE 2021 · 29 次引用
  5. GLIB: towards automated test oracle for graphically-rich applicationsKe Chen, Yufei Li, Yingfeng Chen, Changjie Fan 等FSE 2021 · 30 次引用
黄昏的海面,两侧是细线勾勒的悬崖