The CoLiS Platform for the Analysis of Maintainer Scripts in Debian Software Packages - Laboratoire Méthodes Formelles
Article Dans Une Revue International Journal on Software Tools for Technology Transfer Année : 2022

The CoLiS Platform for the Analysis of Maintainer Scripts in Debian Software Packages

Résumé

The software packages of the Debian distribution include more than twenty-seven thousand maintainer scripts in total, almost all of them being written in the Posix shell language. These scripts are executed with root privileges at installation, update, and removal of a package, which makes them critical for system maintenance. While the Debian policy provides guidance for package maintainers producing the scripts, only few tools exist to check the compliance of a script to that policy. We present CoLiS, a software platform for discovering violations of non-trivial properties required by the Debian policy in maintainer scripts. We describe our methodology which is based on symbolic execution and feature tree constraints, and we give an overview of the toolchain. We obtain promising results: our toolchain is effective in analysing a large set of Debian maintainer scripts, and it has already detected over 150 policy violations that have lead to bug reports, more than two-third of them now being fixed.
Fichier principal
Vignette du fichier
main.pdf (435.38 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03737886 , version 1 (25-07-2022)

Identifiants

  • HAL Id : hal-03737886 , version 1

Citer

Benedikt Becker, Nicolas Jeannerod, Claude Marché, Yann Régis-Gianas, Mihaela Sighireanu, et al.. The CoLiS Platform for the Analysis of Maintainer Scripts in Debian Software Packages. International Journal on Software Tools for Technology Transfer, 2022. ⟨hal-03737886⟩
195 Consultations
165 Téléchargements

Partager

More