PhantomRun: Auto Repair of Compilation Errors in Embedded Open Source Software
Han Fu, Andreas Ermedahl, Sigrid Eldh, Kristian Wiklund, Philipp Haller, Cyrille Artho

TL;DR
PhantomRun is an automated framework that uses large language models to repair compilation errors in embedded system CI pipelines, successfully fixing nearly half of failures across diverse projects.
Contribution
It introduces a novel LLM-based approach tailored for diverse embedded build environments, enabling effective automated repair of CI compilation failures.
Findings
Repairs up to 45% of CI failures in embedded projects.
Addresses diverse build systems and infrastructure challenges.
Demonstrates viability of LLMs for automated embedded system repair.
Abstract
Continuous Integration (CI) pipelines for embedded software sometimes fail during compilation, consuming significant developer time for debugging. We study four major open-source embedded system projects, spanning over 4000 build failures from the project's CI runs. We find that hardware dependencies account for the majority of compilation failures, followed by syntax errors and build-script issues. Most repairs need relatively small changes, making automated repair potentially suitable as long as the diverse setups and lack of test data can be handled. In this paper, we present PhantomRun, an automated framework that leverages large language models (LLMs) to generate and validate fixes for CI compilation failures. The framework addresses the challenge of diverse build infrastructures and tool chains across embedded system projects by providing an adaptation layer for GitHub Actions…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Software Testing and Debugging Techniques · Advanced Software Engineering Methodologies
