Remote Concolic Multiverse Debugging -- Extended Version with Additional Appendices

📅 2026-04-24
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenge of debugging non-deterministic programs on microcontrollers, where sensor-driven inputs lead to irreproducible execution paths and existing techniques suffer from snapshot overhead, model dependency, and state explosion. The authors propose a trajectory-based “multi-verse” debugging approach that integrates concolic execution into this paradigm for the first time. By recording lightweight execution trajectories instead of full system snapshots, the method dynamically identifies critical inputs and prunes redundant paths, substantially mitigating state explosion while reducing memory and communication costs—making it suitable for resource-constrained environments. Implemented as a prototype atop the WARDuino WebAssembly virtual machine with a remote debugging architecture, the approach demonstrates significant reductions in state space and enhanced debugging efficiency and scalability in real-world scenarios compared to conventional solutions.

Technology Category

Knowledge Representation and Reasoning: Diagnosis and Abductive ReasoningIntelligent Robots: State EstimationSearch and Optimization: Sampling/Simulation-based Search

Application Category

Systems and Infrastructure for Web, Mobile and WoT: Experiences and lessons learnt from Web-based algorithms and system deploymentsResponsible Web: Machine-in-the-loop, human agency and autonomySearch and Retrieval-Augmented AI: Web evaluation methodologies and metrics
📝 Abstract
Debugging nondeterministic programs is inherently difficult, particularly in microcontroller environments where execution paths can diverge unpredictably due to external sensor inputs. Traditional debugging techniques often fail to capture or reproduce this nondeterministic behavior effectively. Multiverse debugging has emerged as a compelling technique to debug nondeterministic programs, allowing developers to systematically explore all possible execution paths. Unfortunately, current multiverse debuggers are snapshot-based and most operate over a model of the program, limiting their use for debugging resource-constrained microcontrollers. Additionally, current multiverse debuggers, even ones specifically designed for microcontrollers suffer from state explosion making the state space overwhelming during debugging. To address these challenges, we introduce a trace-based multiverse debugger with a novel state-space reduction technique based on concolic execution. Our approach interleaves concolic analysis with live debugging to identify input values that define unique program paths. This hybrid technique efficiently prunes redundant paths from the state space while ensuring full code coverage. Unlike MIO, a recently published multiverse debugger for microcontrollers that focuses on IO consistency, our approach directly targets state explosion by leveraging concolic execution and uses a trace-based approach, significantly reducing the memory and communication overhead. We implemented a prototype using the WARDuino WebAssembly VM, demonstrating the feasibility and efficiency of our approach in real-world scenarios. Our results highlight substantial reductions in the state space compared to traditional multiverse debugging. This makes multiverse debugging more accessible and efficient for developers working with complex, nondeterministic programs running on microcontrollers.
Problem

Research questions and friction points this paper is trying to address.

nondeterministic programs
microcontroller debugging
multiverse debugging
state explosion
execution paths
Innovation

Methods, ideas, or system contributions that make the work stand out.

concolic execution
multiverse debugging
state-space reduction
trace-based debugging
microcontroller
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
M
Maarten Steevens
Ghent University, Belgium
T
Tom Lauwaerts
Vrije Universiteit Brussel, Belgium
C
Christophe Scholliers
Ghent University, Belgium