mkcheck2: A Highly Efficient and Accurate Approach for Build Dependency Verification
en-GBde-DEes-ESfr-FR

mkcheck2: A Highly Efficient and Accurate Approach for Build Dependency Verification

25/09/2026 Waseda University

The proposed approach significantly reduces performance overhead, making continuous dependency verification in large-scale projects practical

Build systems are a fundamental component of modern software development. Dependency-related errors represent a significant portion of build errors in large-scale projects. However, existing tools for detecting these errors struggle to achieve both high performance and accuracy. In a new study, researchers developed mkcheck2, which reduces performance overhead by up to 99.7% while maintaining accuracy through an efficient eBPF-based system call tracing method and incremental analysis, thereby making continuous dependency verification practical.

Before users can interact with computer software, its source code must be converted into executable binaries and software packages, a task handled by specialized tools known as build systems. Build systems are therefore a fundamental component of modern software development and have evolved into complex distributed systems that manage dependencies, optimize resources, and ensure correctness across large-scale projects. Studies have shown that build maintenance can consume up to 27% of a developer's time in large projects.

One of the most challenging aspects of build system maintenance is dependency management. Dependency-related errors account for more than 50% of build errors in large-scale software projects. Missing dependencies, in which a dependency is not declared in the build manifest, can lead to incorrect builds or failures, while redundant dependencies result in unnecessary rebuilds and low build performance. Both types of errors become increasingly difficult to manage as codebases grow in size and complexity. Although several approaches have been proposed to detect dependency errors, many introduce substantial runtime overhead and struggle to achieve the combination of performance and accuracy required for continuous integration environments.

To address this challenge, a research team led by Professor Hironori Washizaki of Waseda University has developed a new method called "mkcheck2." “Conventional dependency error detection methods that utilize ptrace-based system call tracing, while being accurate, introduce high runtime overhead due to operating in user space, requiring frequent process suspensions and context switches for each system call,” explains Washizaki. “In contrast, our approach utilizes eBPF, a lightweight system call monitoring technology, combined with incremental analysis to significantly reduce verification time.” The team also included Associate Professor Kazunori Sakamoto from Tokyo Online University and Yuta Saito from Waseda University. Their study was published in the Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering, held in Rio de Janeiro, Brazil, from April 12–18, 2026, and was made available online on September 11, 2026. ICSE is the premier conference in the field of software engineering.

mkcheck2 addresses two fundamental challenges in build dependency verification: the performance overhead of system call tracing and the computational cost of dependency graph analysis. It consists of three main components:
  • The first component is the Build Tracer module that monitors file operations during the build process using eBPF-based system call tracing. The eBPF program operates entirely within the kernel space, filtering and processing system calls in real-time without the need for expensive context switches, thereby reducing overhead. The collected information is then passed to a user-space tracer responsible for maintaining process hierarchy information.
  • The second component is the dependency graph builder, which constructs and maintains a representation of actual build dependencies based on traced file operations. It also tracks historical dependency information and classifies dependencies based on their characteristics. “The dependency graph builder serves as the system’s central data processor,” notes Washizaki.
  • The final component is the incremental analyzer, which detects dependency errors by comparing dependency graphs generated from different builds. Rather than analyzing the entire dependency structure each time, the method focuses only on modified portions of the graph, substantially reducing computational cost.

By leveraging these components, mkcheck2 demonstrated substantial performance improvements across evaluations involving 300 open-source projects. Compared to existing ptrace-based methods, it reduced build-time overhead by 99.7% (from an average 148.0% overhead to just 0.3%). Notably, the technique reduced 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. Even with these performance improvements, mkcheck2 achieved 100% accuracy in detecting missing dependencies and 92% accuracy for redundant dependencies.

“This technology could play an important role in large-scale software systems, including cloud and AI infrastructure, where rapid verification during continuous integration is essential,” concludes Washizaki. “Over the long term, it may contribute to improving software reliability and security by helping developers maintain build system correctness at scale in complex projects.”



Reference
Authors: Yuta Saito1, Kazunori Sakamoto2,3,4, and Hironori Washizaki1
Title of original paper: Efficient Build Dependency Verification Using eBPF and Incremental Analysis
Journal: Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering
DOI: https://doi.org/10.1145/3744916.3773204
Affiliations:
1Waseda University, Japan
2Tokyo Online University, Japan
3National Institute of Informatics, Japan
4WillBooster Inc., Japan
Saito, Y., Sakamoto, K., & Washizaki, H. (2026a). Efficient Build Dependency Verification Using eBPF and Incremental Analysis. Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering, 3499–3509. https://doi.org/10.1145/3744916.3773204
Attached files
  • mkcheck2 system architecture and workflow | Image credit: Professor Hironori Washizaki from Waseda University
25/09/2026 Waseda University
Regions: Asia, Japan
Keywords: Applied science, Technology, Computing, Engineering

Disclaimer: AlphaGalileo is not responsible for the accuracy of content posted to AlphaGalileo by contributing institutions or for the use of any information through the AlphaGalileo system.

Testimonials

For well over a decade, in my capacity as a researcher, broadcaster, and producer, I have relied heavily on Alphagalileo.
All of my work trips have been planned around stories that I've found on this site.
The under embargo section allows us to plan ahead and the news releases enable us to find key experts.
Going through the tailored daily updates is the best way to start the day. It's such a critical service for me and many of my colleagues.
Koula Bouloukos, Senior manager, Editorial & Production Underknown
We have used AlphaGalileo since its foundation but frankly we need it more than ever now to ensure our research news is heard across Europe, Asia and North America. As one of the UK’s leading research universities we want to continue to work with other outstanding researchers in Europe. AlphaGalileo helps us to continue to bring our research story to them and the rest of the world.
Peter Dunn, Director of Press and Media Relations at the University of Warwick
AlphaGalileo has helped us more than double our reach at SciDev.Net. The service has enabled our journalists around the world to reach the mainstream media with articles about the impact of science on people in low- and middle-income countries, leading to big increases in the number of SciDev.Net articles that have been republished.
Ben Deighton, SciDevNet

We Work Closely With...


  • The Research Council of Norway
  • SciDevNet
  • Swiss National Science Foundation
  • iesResearch
Copyright 2026 by AlphaGalileo Terms Of Use Privacy Statement