Static Analysis of Lockless Microcontroller C Programs
Programming Languages
2012-11-28 v1 Hardware Architecture
Abstract
Concurrently accessing shared data without locking is usually a subject to race conditions resulting in inconsistent or corrupted data. However, there are programs operating correctly without locking by exploiting the atomicity of certain operations on a specific hardware. In this paper, we describe how to precisely analyze lockless microcontroller C programs with interrupts by taking the hardware architecture into account. We evaluate this technique in an octagon-based value range analysis using access-based localization to increase efficiency.
Keywords
Cite
@article{arxiv.1211.6192,
title = {Static Analysis of Lockless Microcontroller C Programs},
author = {Eva Beckschulze and Sebastian Biallas and Stefan Kowalewski},
journal= {arXiv preprint arXiv:1211.6192},
year = {2012}
}
Comments
In Proceedings SSV 2012, arXiv:1211.5873