Characterizing and Detecting Configuration Compatibility Issues in Android Apps
XML configuration files are widely used in Android to define an app’s user interface and essential runtime information such as system permissions. As Android evolves, it might introduce functional changes in the configuration environment, thus causing compatibility issues that manifest as inconsistent app behaviors at different API levels. Such issues can often induce software crashes and inconsistent look-and-feel when running at certain Android versions. Existing works incur plenty of false positive and false negative issue-detection rules by conducting trivial data-flow analysis while failing to model the XML tree hierarchies of the Android configuration files. Besides, little is known on how the changes of Android framework can induce such compatibility issues. To bridge such gaps, we conducted a systematic study by analyzing 196 real-world issues collected from 43 popular apps. We identified two common patterns of Android framework code changes that induce such configuration compatibility issues. Based on the findings, we propose ConfDroid that can automatically extract rules for detecting configuration compatibility issues. The key intuition is to perform symbolic execution based on a model learned from the common code change patterns. Experiment results show that ConfDroid can successfully extract 274 valid issue-detection rules with a precision of 92.8%. Among them, 66 (24.1%) extracted rules can manifest issues that cannot be detected by the rules of state-of-the-art baselines. Eleven out of them lead to the detection of 127 reproducible configuration compatibility issues that cannot be detected by the baselines in 35 out of 316 real-world Android apps.
Wed 17 NovDisplayed time zone: Hobart change
19:00 - 20:00
|Finding the Missing Piece: Permission Specification Analysis for Android NDK|
Hao Zhou The Hong Kong Polytechnic University, Haoyu Wang Beijing University of Posts and Telecommunications, Shuohan Wu The Hong Kong Polytechnic University, Xiapu Luo Hong Kong Polytechnic University, Yajin Zhou Zhejiang University, Ting Chen University of Electronic Science and Technology of China, Ting Wang Pennsylvania State University
|Characterizing and Detecting Configuration Compatibility Issues in Android Apps|
|Where to Start: Studying Type Annotation Practices in Python|