Static Deadlock Detection for Interrupt-driven Embedded Software

Interrupt-driven embedded software is widely used in safety-critical systems, where any occurrence of errors can lead to serious consequences. Deadlock is a common concurrency error, and deadlock detection methods are mainly designed for multi-threaded programs. However, due to the differences in concurrency control and preemption mechanisms between interrupt-driven programs and multi-threaded programs, the existing deadlock detection methods for multi-threaded programs cannot be directly applied to interrupt-driven programs. A static deadlock detection method is proposed for interrupt-driven programs to enhance the reliability and safety of interrupt-driven embedded software. Building upon the traditional context-sensitive lockset analysis, this method takes into account the concurrent semantics of interrupts and extends the lock graph model. Our method effectively reduces false positives by analyzing the concurrent relationships of cycles in a lock graph. Based on these methods, we develop a deadlock detection tool, and experiments are conducted with it. The results demonstrate that the proposed method can effectively detect deadlocks related to interrupts.

Authors

Institutions

Publication Details

Published
2024-11-08
DOI
https://doi.org/10.1109/iccsi62669.2024.10799242
Primary Topic
Real-Time Systems Scheduling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Static Deadlock Detection for Interrupt-driven Embedded Software

Yaqin Xie, Kaiwen Zhang, Guanjun Liu, Xiaofeng Li et al.
Real-Time Systems Scheduling
article

Static Deadlock Detection for Interrupt-driven Embedded Software

Yaqin Xie, Kaiwen Zhang, Guanjun Liu, Xiaofeng Li, Bin Gu, Jian Guan, Yu Zhang
article en

Abstract

Interrupt-driven embedded software is widely used in safety-critical systems, where any occurrence of errors can lead to serious consequences. Deadlock is a common concurrency error, and deadlock detection methods are mainly designed for multi-threaded programs. However, due to the differences in concurrency control and preemption mechanisms between interrupt-driven programs and multi-threaded programs, the existing deadlock detection methods for multi-threaded programs cannot be directly applied to interrupt-driven programs. A static deadlock detection method is proposed for interrupt-driven programs to enhance the reliability and safety of interrupt-driven embedded software. Building upon the traditional context-sensitive lockset analysis, this method takes into account the concurrent semantics of interrupts and extends the lock graph model. Our method effectively reduces false positives by analyzing the concurrent relationships of cycles in a lock graph. Based on these methods, we develop a deadlock detection tool, and experiments are conducted with it. The results demonstrate that the proposed method can effectively detect deadlocks related to interrupts.

Tongji University (CN)
Nature
Openalex Percentile: Top 75%
Real-Time Systems Scheduling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.