...
首页> 外文期刊>The Journal of Systems and Software >Static analysis by abstract interpretation of functional properties of device drivers in TinyOS
【24h】

Static analysis by abstract interpretation of functional properties of device drivers in TinyOS

机译:通过抽象解释TinyOS中设备驱动程序的功能属性进行静态分析

获取原文
获取原文并翻译 | 示例
           

摘要

In this paper, we present a static analysis by Abstract Interpretation of device drivers developed in the TinyOS operating system, which is considered as the de facto system in wireless sensor networks. We focus on verifying user-defined functional properties describing safety rules that programs should obey in order to interact correctly with the hardware. Our analysis is sound by construction and can prove that all possible execution paths follow the correct interaction patterns specified by the functional property. The soundness of the analysis is justified with respect to a preemptive execution model where interrupts can occur during execution depending on the configuration of specific hardware registers. The proposed solution performs a modular analysis that analyzes every interrupt independently and aggregates their results to over-approximate the effect of preemption. By doing so, we avoid reanalyzing interrupts in every context where they are enabled which improves considerably the scalability of the solution. A number of partitioning techniques are also presented in order to track precisely some crucial information, such as the hardware state and the tasks queue. We have performed several experiments on real-world TinyOS device drivers of the ATmega128 MCU and promising results demonstrate the effectiveness of our analysis.
机译:在本文中,我们将通过TinyOS操作系统中开发的设备驱动程序的抽象解释进行静态分析,该操作系统被认为是无线传感器网络中的事实系统。我们着重于验证用户定义的功能属性,这些属性描述了程序应遵循的安全规则,以便与硬件正确交互。我们的分析在结构上是合理的,可以证明所有可能的执行路径都遵循功能属性指定的正确交互模式。对于抢先执行模型,分析的合理性是合理的,在抢先执行模型中,在执行期间可能会发生中断,具体取决于特定硬件寄存器的配置。提出的解决方案执行模块化分析,该分析独立分析每个中断并汇总其结果,以过度逼近抢占的效果。这样,我们避免在启用了中断的每个上下文中重新分析中断,从而大大提高了解决方案的可伸缩性。还提出了许多分区技术,以便精确跟踪一些关键信息,例如硬件状态和任务队列。我们已经对ATmega128 MCU的真实TinyOS设备驱动程序进行了多次实验,令人鼓舞的结果证明了我们分析的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号