arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.05649cs.SE
收藏

Android ICC解析技术综合评测

A Comprehensive Evaluation of Android ICC Resolution Techniques

Jiwei Yan, Shixin Zhang, Yepang Liu, Xi Deng, Jun Yan, Jian Zhang

摘要:

组件间通信(ICC)是移动应用中广泛使用的机制,它支持Android组件之间基于消息的控制流传输和数据传递。有效的ICC解析需要精确地识别入口点,分析ICC字段的数据值,建模相关的框架API等。由于涉及各种控制流和数据流相关的特性,以及缺乏真实应用程序的oracle,ICC解析技术的综合评估具有挑战性。为了填补这一空白,我们收集了包含4,104个应用程序的多类型基准测试套件,涵盖了手工制作的应用程序,开源和商业应用程序。考虑到它们的差异,各种评估指标,例如,按需采用数量计数、图形结构和可靠的基于Oracle的度量。由于现实世界的应用程序的oracle是不可用的,我们设计了一个动态分析的方法来提取在GUI探索过程中触发的真正的ICC链接。通过对代码实现的审计,我们仔细检查了提取的ICC,并确认了1,680个ICC,形成了一个可靠的oracle集,其中每个ICC都标有25个代码特征标签。对六种最先进的ICC解析工具进行的评估表明:1)真实世界应用程序的静态ICC解析结果的完整性并不令人满意,高达38%-85%的ICC被工具遗漏; 2)许多错误报告的ICC仅由少数组件发送或接收,图结构信息可以帮助识别;(3)ICC解析等基础工具的效率在工程和研究两个方面都应得到优化。通过调查遗漏和错误报告的ICC,我们讨论了不同的工具,为用户的优势,并总结了8个常见的FN/FP模式的ICC解决工具开发人员。

英文摘要:

Inter-component communication (ICC) is a widely used mechanism in mobile apps, which enables message-based control flow transferring and data passing between Android components. Effective ICC resolution requires precisely identifying entry points, analyzing data values of ICC fields, modeling related framework APIs, etc. Due to various control-flow- and data-flow-related characteristics involved and the lack of oracles for real-world apps, the comprehensive evaluation of ICC resolution techniques is challenging. To fill this gap, we collect multiple-type benchmark suites with 4,104 apps, covering hand-made apps, open-source, and commercial ones. Considering their differences, various evaluation metrics, e.g., number count, graph structure, and reliable oracle based metrics, are adopted on-demand. As the oracle for real-world apps is unavailable, we design a dynamic analysis approach to extract the real ICC links triggered during GUI exploration. By auditing the code implementations, we carefully check the extracted ICCs and confirm 1,680 ones to form a reliable oracle set, in which each ICC is labeled with 25 code characteristic tags. The evaluation performed on six state-of-the-art ICC resolution tools shows that 1) the completeness of static ICC resolution results on real-world apps is not satisfactory, as up to 38%-85% ICCs are missed by tools; 2) many wrongly reported ICCs are sent from or received by only a few components and the graph structure information can help the identification; 3) the efficiency of fundamental tools, like ICC resolution ones, should be optimized in both engineering and research aspects. By investigating both the missed and wrongly reported ICCs, we discuss the strengths of different tools for users and summarize eight common FN/FP patterns in ICC resolution for tool developers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑