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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Samhi, Jordan, Bissyandé, Tegawendé F., Klein, Jacques
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910323328417792
author Samhi, Jordan
Bissyandé, Tegawendé F.
Klein, Jacques
author_facet Samhi, Jordan
Bissyandé, Tegawendé F.
Klein, Jacques
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2307_12609
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle AndroLibZoo: A Reliable Dataset of Libraries Based on Software Dependency Analysis
Samhi, Jordan
Bissyandé, Tegawendé F.
Klein, Jacques
Software Engineering
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.
title AndroLibZoo: A Reliable Dataset of Libraries Based on Software Dependency Analysis
topic Software Engineering
url https://arxiv.org/abs/2307.12609