一句话:首次系统评估 FlowDroid 与 DroidSafe 的配置空间,揭示性能、精度与健全性权衡并发现 21 处错误配置。
Android 上流行的静态污点分析工具(如 FlowDroid、DroidSafe)通过配置选项改变底层算法,但配置空间庞大,已有研究仅关注单个配置,难以理解工具全部能力。本文首次系统评估其配置空间:人工调查代码实现,用精度与健全性偏序形式化选项预期效果;构建含 18 个开源真实应用、756 条人工分类数据流的新数据集,并在该数据集和微基准上大规模实验。结果显示,配置会在性能、精度与健全性之间造成显著权衡,若考虑配置或使用真实数据集,已有研究结论可能不同。作者还通过统计分析给出调参建议,并用偏序检测出 21 处选项行为异常或错误的实例,表明配置空间需要严格测试。
The most popular static taint analysis tools for Android allow users to change the underlying analysis algorithms through configuration options. However, the large configuration spaces make it difficult for developers and users alike to understand the full capabilities of these tools, and studies to-date have only focused on individual configurations. In this work, we present the first study that evaluates the configurations in Android taint analysis tools, focusing on the two most popular tools, FlowDroid and DroidSafe. First, we perform a manual code investigation to better understand how configurations are implemented in both tools. We formalize the expected effects of configuration option settings in terms of precision and soundness partial orders which we use to systematically test the configuration space. Second, we create a new dataset of 756 manually classified flows across 18 open-source real-world apps and conduct large-scale experiments on this dataset and micro-benchmarks. We observe that configurations make significant tradeoffs on the performance, precision, and soundness of both tools. The studies to-date would reach different conclusions on the tools' capabilities were they to consider configurations or use real-world datasets. In addition, we study the individual options through a statistical analysis and make actionable recommendations for users to tune the tools to their own ends. Finally, we use the partial orders to test the tool configuration spaces and detect 21 instances where options behaved in unexpected and incorrect ways, demonstrating the need for rigorous testing of configuration spaces.
DOI 原文 ·
@inproceedings{paperbot6646,
title = {The impact of tool configuration spaces on the evaluation of configurable taint analysis for Android},
author = {Austin Mordahl and Shiyi Wei},
booktitle = {ISSTA},
year = {2021},
doi = {10.1145/3460319.3464823}
}