کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
461242 696578 2016 19 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Static analysis by abstract interpretation of functional properties of device drivers in TinyOS
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر شبکه های کامپیوتری و ارتباطات
پیش نمایش صفحه اول مقاله
Static analysis by abstract interpretation of functional properties of device drivers in TinyOS
چکیده انگلیسی


• We present an effective static analysis of device drivers in TinyOS.
• We focus on verifying the correctness of the software/hardware interactions.
• We consider a preemptive execution model with possibly nested interrupts.
• The analysis is based on Abstract Interpretation and is sound by construction.
• We present several experimental results performed on real-world TinyOS programs.

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.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Systems and Software - Volume 120, October 2016, Pages 114–132
نویسندگان
, , , ,