arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1211.6192cs.PLcs.AR
收藏

无锁微控制器C程序的静态分析

Static Analysis of Lockless Microcontroller C Programs

Eva Beckschulze, Sebastian Biallas, Stefan Kowalewski

摘要:

在不加锁的情况下并发访问共享数据通常会受到竞争条件的影响,从而导致数据不一致或损坏。然而,有些程序通过利用特定硬件上某些操作的原子性,在没有锁定的情况下正确运行。在本文中,我们描述了如何精确地分析无锁微控制器C程序中断考虑到硬件架构。我们评估这种技术在一个基于八边形的值范围分析使用基于访问的本地化,以提高效率。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑