Fraunhofer-Gesellschaft

Publica

Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

BOSMI: A framework for non-intrusive monitoring and testing of embedded multithreaded software on the logical level

 
: Jahić, Jasmin; Kuhn, Thomas; Jung, Matthias; Wehn, Norbert

:

18th International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation, SAMOS 2018. Proceedings : Pythagorion, Greece, July 15 - 19, 2018
New York: ACM, 2018
ISBN: 978-1-4503-6494-2
S.131-138
International Conference on Embedded Computer Systems - Architectures, Modeling, and Simulation (SAMOS) <18, 2018, Pythagorion>
Bundesministerium für Bildung und Forschung BMBF (Deutschland)
01IS16025; ARAMiS II
Englisch
Konferenzbeitrag
Fraunhofer IESE ()
concurrency; coverage; execution control; execution monitoring; LLVM

Abstract
Traditional software testing methods are inefficient in cases where data inputs alone do not determine the outcome of a program's execution. In order to verify such software, testing is often complemented by analysis of the execution trace. For monitoring the execution trace, most approaches today insert additional instructions at the binary level, making the monitoring intrusive. Binary instrumentation operate on a low level, making it difficult to properly modify a program's states and to quantify its code coverage. In this paper, we present a framework for testing complex embedded multithreaded software on the logical level. Testing software on this level avoids dependency on concrete compilers and relates the execution to the source code, thus enabling coverage. Our non-intrusive execution monitoring and control is implemented using the LLVM interpreter compiler infrastructure. Instead of forcing thread interleaving, we suggest simulating interleaving effects through non-intrusive changes of shared variables. This makes it possible to test a single thread without executing the full software stack, which is especially useful in situations where the full software stack is not available (e.g., pre-integration testing). We complement existing approaches with new features such as dynamic configuration of monitoring and execution rollback to the checkpoints. Our approach introduces acceptable overhead without any complex setup.

: http://publica.fraunhofer.de/dokumente/N-535017.html