Analyzing and Disentangling Interleaved Interrupt-driven IoT Programs

10/13/2018
by   Yuxia Sun, et al.
0

In the Internet of Things (IoT) community, Wireless Sensor Network (WSN) is a key technique to enable ubiquitous sensing of environments and provide reliable services to applications. WSN programs, typically interrupt-driven, implement the functionalities via the collaboration of Interrupt Procedure Instances (IPIs, namely executions of interrupt processing logic). However, due to the complicated concurrency model of WSN programs, the IPIs are interleaved intricately and the program behaviours are hard to predicate from the source codes. Thus, to improve the software quality of WSN programs, it is significant to disentangle the interleaved executions and develop various IPI-based program analysis techniques, including offline and online ones. As the common foundation of those techniques, a generic efficient and real-time algorithm to identify IPIs is urgently desired. However, the existing instance-identification approach cannot satisfy the desires. In this paper, we first formally define the concept of IPI. Next, we propose a generic IPI-identification algorithm, and prove its correctness, real-time and efficiency. We also conduct comparison experiments to illustrate that our algorithm is more efficient than the existing one in terms of both time and space. As the theoretical analyses and empirical studies exhibit, our algorithm provides the groundwork for IPI-based analyses of WSN programs in IoT environment.

READ FULL TEXT
research
08/24/2017

From Concurrent Programs to Simulating Sequential Programs: Correctness of a Transformation

Frama-C is a software analysis framework that provides a common infrastr...
research
12/31/2019

From Ideation to Implications: Directions for the Internet of Things in the Home

In this paper we give a brief overview of our approaches and ongoing wor...
research
09/18/2018

Program Analysis of Commodity IoT Applications for Security and Privacy: Challenges and Opportunities

Recent advances in Internet of Things (IoT) have enabled myriad domains ...
research
12/17/2018

A Generic Information and Consent Framework for the IoT

The Internet of Things (IoT) raises specific issues in terms of informat...
research
09/19/2021

A domain-specific modeling and analysis environment for complex IoT applications

To cope with the complexities found in the Internet of Things domain, de...
research
01/19/2021

Hidden Markov Model-Based Encoding for Time-Correlated IoT Sources

As the use of Internet of Things (IoT) devices for monitoring purposes b...

Please sign up or login with your details

Forgot password? Click here to reset