paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CiD: automating the detection of API-related compatibility issues in Android apps

CiD:自动检测 Android 应用中与 API 相关的兼容性问题
ISSTA Proceedings of the 27th ACM SIGSOFT International Symposium on Software Testing and Analysis2018匹配度 3/10 · 论文属于传统程序分析与字节码静态分析,用于检测 Android API 兼容性问题;虽然与静态分析相关,但不涉及 ML/LLM/Agent、浮点程序分析或贝叶斯程序分析,也不在用户核心研究方向上。引用 148 inbox
Li Li, Tegawendé F. Bissyandé, Haoyu Wang, Jacques Klein
crossref: 2026-09-12

AI 速览

一句话:通过建模 Android API 生命周期并分析字节码,自动标记可能导致兼容性崩溃的 API 用法。

Android API 为开发者提供设备功能与硬件访问的构建块,但其快速演化使开发者难以同步更新应用;由于 API 规模庞大且缺少重要变更的自动告警,应用常遭遇与 API 相关的兼容性问题,并表现为运行时崩溃。本文提出自动化方法 CiD,系统地为 Android API 建立生命周期模型,并分析应用字节码,标记那些可能导致潜在兼容性问题的 API 使用。作者通过帮助开发者修复其应用来展示 CiD 的实用性,并在纳入多种自动检测挑战的基准应用上验证该工具优于现有最优方法。

问题
Android API 快速演化且缺乏重要变更的自动告警,开发者难以及时更新应用,导致与 API 相关的兼容性问题,引发运行时崩溃和糟糕的用户体验。
方法
提出 CiD,系统地为 Android API 建立生命周期模型,并分析应用字节码,标记可能导致潜在兼容性问题的 API 用法。
评估
通过帮助开发者修复其应用来展示实用性,并在考虑多种自动检测挑战的基准应用上验证 CiD 优于现有最优方法。
原文摘要(Abstract)

The Android Application Programming Interface provides the necessary building blocks for app developers to harness the functionalities of the Android devices, including for interacting with services and accessing hardware. This API thus evolves rapidly to meet new requirements for security, performance and advanced features, creating a race for developers to update apps. Unfortunately, given the extent of the API and the lack of automated alerts on important changes, Android apps are suffered from API-related compatibility issues. These issues can manifest themselves as runtime crashes creating a poor user experience. We propose in this paper an automated approach named CiD for systematically modelling the lifecycle of the Android APIs and analysing app bytecode to flag usages that can lead to potential compatibility issues. We demonstrate the usefulness of CiD by helping developers repair their apps, and we validate that our tool outperforms the state-of-the-art on benchmark apps that take into account several challenges for automatic detection.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot4833,
  title = {CiD: automating the detection of API-related compatibility issues in Android apps},
  author = {Li Li and Tegawendé F. Bissyandé and Haoyu Wang and Jacques Klein},
  booktitle = {ISSTA},
  year = {2018},
  doi = {10.1145/3213846.3213857}
}