paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Efficient Build Dependency Verification Using eBPF and Incremental Analysis

使用 eBPF 与增量分析的高效构建依赖验证
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 2/10 · 论文聚焦构建依赖验证,使用 eBPF 与增量分析降低开销,属于软件工程/开发者工具方向;虽然涉及静态分析/程序分析工程实现,但未涉及用户核心关注的 PL 与 AI/LLM 交叉、浮点程序分析或贝叶斯程序分析,因此匹配度低。引用 0 inbox
Yuta Saito, Kazunori Sakamoto, Hironori Washizaki
crossref: 2026-09-12

AI 速览

一句话:提出 mkcheck2,结合 eBPF 系统调用追踪与增量分析高效验证构建依赖,检测开销最高降低 99.7%。

构建系统的依赖规格错误(包括缺失依赖与冗余依赖)在大型软件项目中占构建错误的 50% 以上。现有检测工具存在两大局限:基于 ptrace 的系统调用追踪运行时开销高,且需要验证构建依赖图中的所有边。本文提出 mkcheck2,将扩展伯克利包过滤器(eBPF)系统调用追踪与增量分析相结合,实现高效的依赖验证。在多个开源项目上的评估表明,相比基于 ptrace 的方法,mkcheck2 在保持检测准确率的同时将依赖错误检测开销最多降低 99.7%;在整个包含 300 个 Make 项目的语料上,增量分析技术将每次提交的平均分析时间从 1267.49 秒降至 23.56 秒,使持续依赖验证在实际开发环境中变得可行。

问题
构建依赖规格中的缺失与冗余依赖错误在大型项目中占构建错误 50% 以上,而现有工具因 ptrace 追踪开销高且需验证依赖图所有边而难以实用。
方法
mkcheck2 使用 eBPF 进行低开销系统调用追踪,并引入增量分析,仅重新验证受影响的依赖边,从而高效检测构建依赖错误。
评估
在多种开源项目及 300 个 Make 项目语料上评估,对比 ptrace 基线,检测开销最多降低 99.7% 且保持准确率,每提交平均分析时间从 1267.49 秒降至 23.56 秒。
原文摘要(Abstract)

Build systems are fundamental to modern software development, but maintaining correct dependency specifications remains a significant challenge. Dependency-related errors, including missing and redundant dependencies, account for over 50% of build errors in large-scale software projects. Existing tools for detecting such errors suffer from two major limitations: high runtime overhead due to ptrace-based system call tracing, and the need to verify all edges in the build dependency graph. This paper presents mkcheck2, a novel approach that combines extended Berkeley Packet Filter (eBPF)-based system call tracing with incremental analysis to enable efficient dependency verification. Our evaluation on a diverse set of open-source projects demonstrates that mkcheck2 reduces the overhead of dependency error detection by up to 99.7% compared to existing ptrace-based approaches while maintaining detection accuracy. Across the entire 300-project Make corpus, the incremental analysis technique lowers the mean analysis time per commit from 1267.49 seconds to just 23.56 seconds, making continuous dependency verification practical in real-world development environments.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11842,
  title = {Efficient Build Dependency Verification Using eBPF and Incremental Analysis},
  author = {Yuta Saito and Kazunori Sakamoto and Hironori Washizaki},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773204}
}