RTOS应用的静态竞争检测
Static Race Detection for RTOS Applications
摘要:
本文提出了一种静态分析技术来检测实时操作系统(RTOS)应用程序中的数据竞争。这些应用程序通常用于安全关键任务,并且竞争的存在可能导致具有严重后果的错误行为。分析这些应用程序是具有挑战性的,因为它们使用各种各样的非标准同步机制。我们提出了一种技术的基础上的概念,“发生在之间”的关系语句。这个概念使我们能够捕捉各种同步机制的相互作用。我们使用一个预分析和一个小的不发生在之间的模式,以检测是否两个语句可能会相互竞争。实验结果表明,该方法具有较高的识别精度,是一种有效的小种识别方法。
英文摘要:
We present a static analysis technique for detecting data races in Real-Time Operating System (RTOS) applications. These applications are often employed in safety-critical tasks and the presence of races may lead to erroneous behaviour with serious consequences. Analyzing these applications is challenging due to the variety of non-standard synchronization mechanisms they use. We propose a technique based on the notion of an "occurs-in-between" relation between statements. This notion enables us to capture the interplay of various synchronization mechanisms. We use a pre-analysis and a small set of not-occurs-in-between patterns to detect whether two statements may race with each other. Our experimental evaluation shows that the technique is efficient and effective in identifying races with high precision.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。