Saved in:
Bibliographic Details
Main Authors: Bosbach, Nils, Salama, Alwalid, Jünger, Lukas, Burton, Mark, Zurstraßen, Niko, Pelke, Rebecca, Leupers, Rainer
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.02238
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912802690564096
author Bosbach, Nils
Salama, Alwalid
Jünger, Lukas
Burton, Mark
Zurstraßen, Niko
Pelke, Rebecca
Leupers, Rainer
author_facet Bosbach, Nils
Salama, Alwalid
Jünger, Lukas
Burton, Mark
Zurstraßen, Niko
Pelke, Rebecca
Leupers, Rainer
contents Code coverage analysis has become a standard approach in software development, facilitating the assessment of test suite effectiveness, the identification of under-tested code segments, and the discovery of performance bottlenecks. When code coverage of software for embedded systems needs to be measured, conventional approaches quickly meet their limits. A commonly used approach involves instrumenting the source files with added code that collects and dumps coverage information during runtime. This inserted code usually relies on the existence of an operating and a file system to dump the collected data. These features are not available for bare-metal programs that are executed on embedded systems. To overcome this issue, we present NQC2, a plugin for QEMU.NQC2 extracts coverage information from QEMU during runtime and stores them into a file on the host machine. This approach is even compatible with modified QEMU versions and does not require target-software instrumentation. NQC2 outperforms a comparable approach from Xilinx by up to 8.5 x.
format Preprint
id arxiv_https___arxiv_org_abs_2601_02238
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle NQC2: A Non-Intrusive QEMU Code Coverage Plugin
Bosbach, Nils
Salama, Alwalid
Jünger, Lukas
Burton, Mark
Zurstraßen, Niko
Pelke, Rebecca
Leupers, Rainer
Software Engineering
Code coverage analysis has become a standard approach in software development, facilitating the assessment of test suite effectiveness, the identification of under-tested code segments, and the discovery of performance bottlenecks. When code coverage of software for embedded systems needs to be measured, conventional approaches quickly meet their limits. A commonly used approach involves instrumenting the source files with added code that collects and dumps coverage information during runtime. This inserted code usually relies on the existence of an operating and a file system to dump the collected data. These features are not available for bare-metal programs that are executed on embedded systems. To overcome this issue, we present NQC2, a plugin for QEMU.NQC2 extracts coverage information from QEMU during runtime and stores them into a file on the host machine. This approach is even compatible with modified QEMU versions and does not require target-software instrumentation. NQC2 outperforms a comparable approach from Xilinx by up to 8.5 x.
title NQC2: A Non-Intrusive QEMU Code Coverage Plugin
topic Software Engineering
url https://arxiv.org/abs/2601.02238