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

AndroLibZoo:基于软件依赖分析的可靠库数据集

AndroLibZoo: A Reliable Dataset of Libraries Based on Software Dependency Analysis

Jordan Samhi, Tegawendé F. Bissyandé, Jacques Klein

AI总结:

针对静态分析中库白名单不可靠的问题,提出自动化方法生成准确且最新的第三方库数据集 AndroLibZoo,含 34,813 个库,供社区使用。

摘要:

Android 应用开发者广泛采用代码复用,将许多第三方库集成到其应用中。虽然这种集成对开发者来说很实用,但当库占代码的很大一部分时,静态分析器要实现可扩展性和精确性可能会很困难。因此,文献中的常见做法是在静态分析期间仅考虑开发者代码——假设所寻求的问题存在于开发者代码中而非库中。然而,分析人员需要区分库代码和开发者代码。目前,许多静态分析依赖于库的白名单。然而,这些白名单不可靠、不准确,且在很大程度上不全面。在本文中,我们提出了一种新方法来解决缺乏全面且自动化的解决方案来生成准确且“始终最新”的库集合的问题。首先,我们证明了库白名单的持续需求。其次,我们提出了一种自动化方法,以数据集的形式生成准确且最新的第三方库集合,该数据集名为 AndroLibZoo。我们的数据集可供社区使用,迄今包含 34,813 个库,并旨在不断发展。

英文摘要:

Android app developers extensively employ code reuse, integrating many third-party libraries into their apps. While such integration is practical for developers, it can be challenging for static analyzers to achieve scalability and precision when libraries account for a large part of the code. As a direct consequence, it is common practice in the literature to consider developer code only during static analysis --with the assumption that the sought issues are in developer code rather than the libraries. However, analysts need to distinguish between library and developer code. Currently, many static analyses rely on white lists of libraries. However, these white lists are unreliable, inaccurate, and largely non-comprehensive. In this paper, we propose a new approach to address the lack of comprehensive and automated solutions for the production of accurate and ``always up to date" sets of libraries. First, we demonstrate the continued need for a white list of libraries. Second, we propose an automated approach to produce an accurate and up-to-date set of third-party libraries in the form of a dataset called AndroLibZoo. Our dataset, which we make available to the community, contains to date 34 813 libraries and is meant to evolve.

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

↑