Metraipolis › archive › dc_ad8c5d2dbe6c

MergeShuffle: Reconstruct Shared Libraries for Improved Performance and Security — arXiv:2610.22952

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.22952
License (as archived)
CC0-1.0
Archived
2026-10-19T09:37:10.469Z
SHA-256 of the archived text
c88b7ff83c355a59ac119d332498933251f266f9258bf755967b145cb8c071e8
Stable URL of this page
https://metraipolis.com/documento/dc_ad8c5d2dbe6c

How to cite

MergeShuffle: Reconstruct Shared Libraries for Improved Performance and Security — arXiv:2610.22952 — arXiv (en), https://arxiv.org/abs/2610.22952 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ad8c5d2dbe6c (Metraipolis archive dc_ad8c5d2dbe6c, sha256 c88b7ff83c355a59ac119d332498933251f266f9258bf755967b145cb8c071e8)
BibTeX
@misc{dcad8c5d2dbe6c,
  title = {MergeShuffle: Reconstruct Shared Libraries for Improved Performance and Security — arXiv:2610.22952},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.22952},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ad8c5d2dbe6c; sha256 c88b7ff83c355a59ac119d332498933251f266f9258bf755967b145cb8c071e8},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.22952. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Debloating shared libraries has been an active research topic for years. Tools for shared library debloating rely on either static or dynamic analysis techniques to discover which parts of the shared library is used. Once these parts are found, these tools take one of two routes, either removing parts of the library that are not used, requiring reconstruction of the library; or they simply overwriting the unused functions. However, recently a broad study~\cite{brown2024broad} on debloating tools has shown that some of these tools either increase the static binary size, or are generally less effective for complex workloads. In this paper, we argue that shared-library debloaters' performance can be improved by proper reconstruction of the shared-libraries once the used functions in the library are identifies. We propose \myapp, a novel tool for reconstructing shared libraries from a given set of file ranges to eliminate unused code based on user-specified requirements, without requiring access to source code. \myapp takes as input a shared library and a set of file ranges to retain, and performs a two-phase reconstruction: merging nearby ranges to reduce loading overhead, and shuffling them to minimize file size while preserving page-aligned memory mappings. The shuffling problem is formulated as a variant of the Traveling Salesman Problem and solved using a heuristic algorithm. \myapp utilizes program headers to remap retained code to its original memory addresses, preserving user-specified functionality. Our results show that \myapp achieves up to 60\% reduction in file size, 16\% reduction in memory usage, and 32\% reduction in runtime, while maintaining user-specified functionality and improving security.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.SE, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2610.22952 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T09:31:59.700Z dalla pagina https://arxiv.org/list/cs.SE/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).