Lune

DAC2021Top-tier venue

Towards Reliable Spatial Memory Safety for Embedded Software by Combining Checked C with Concolic Testing

Sören Tempel, Vladimir Herdt, Rolf Drechsler

2021Year
2Citations

Abstract

In this paper we propose to combine the safe C dialect Checked C with concolic testing to obtain an effective methodology for attaining safer C code. Checked C is a modern and backward compatible extension to the C programming language which provides facilities for writing memory-safe C code. We utilize incremental conversions of unsafe C software to Checked C. After each increment, we leverage concolic testing, an effective test generation technique, to support the conversion process by searching for newly introduced and existing bugs.Our RISC-V experiments using the RIOT Operating System (OS) demonstrate the effectiveness of our approach. We uncovered 4 previously unknown bugs and 3 bugs accidentally introduced through our conversion process.

Ask about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get 8979af14-e617-43cf-89b0-c97ecc834553

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines