跳到主要导航 跳到搜索 跳到主要内容

Automated Localization for Unreproducible Builds

  • Zhilei Ren
  • , He Jiang
  • , Jifeng Xuan
  • , Zijiang Yang
  • Dalian University of Technology
  • Wuhan University

科研成果: 会议稿件论文同行评审

36 引用 (Scopus)

摘要

Reproducibility is the ability of recreating identical binaries under pre-defined build environments. Due to the need of quality assurance and the benefit of better detecting attacks against build environments, the practice of reproducible builds has gained popularity in many open-source software repositories such as Debian and Bitcoin. However, identifying the unreproducible issues remains a labour intensive and time consuming challenge, because of the lacking of information to guide the search and the diversity of the causes that may lead to the unreproducible binaries. In this paper we propose an automated framework called RepLoc to localize the problematic files for unreproducible builds. RepLoc features a query augmentation component that utilizes the information extracted from the build logs, and a heuristic rule-based filtering component that narrows the search scope. By integrating the two components with a weighted file ranking module, RepLoc is able to automatically produce a ranked list of files that are helpful in locating the problematic files for the unreproducible builds. We have implemented a prototype and conducted extensive experiments over 671 real-world unreproducible Debian packages in four different categories. By considering the topmost ranked file only, RepLoc achieves an accuracy rate of 47.09%. If we expand our examination to the top ten ranked files in the list produced by RepLoc, the accuracy rate becomes 79.28%. Considering that there are hundreds of source code, scripts, Makefiles, etc., in a package, RepLoc significantly reduces the scope of localizing problematic files. Moreover, with the help of RepLoc, we successfully identified and fixed six new unreproducible packages from Debian and Guix.

源语言英语
71-81
页数11
DOI
出版状态已出版 - 2018
活动40th International Conference on Software Engineering, ICSE 2018 - Gothenburg, 瑞典
期限: 27 5月 20183 6月 2018

会议

会议40th International Conference on Software Engineering, ICSE 2018
国家/地区瑞典
Gothenburg
时期27/05/183/06/18

学术指纹

探究 'Automated Localization for Unreproducible Builds' 的科研主题。它们共同构成独一无二的指纹。

引用此