Verification of Data Races in Concurrent Interrupt Handlers

Author:

Tchamgoue Guy Martin1ORCID,Kim Kyong Hoon1,Jun Yong-Kee1

Affiliation:

1. Department of Informatics, Gyeongsang National University, 660-701 Jinju, Republic of Korea

Abstract

Data races are common in interrupt-driven programs and have already led to well-known real-world problems. Unfortunately, existing dynamic tools for reporting data races in interrupt-driven programs are not only unsound, but they also fail to verify the existence of data races in such programs. This paper presents an efficient and scalable on-the-fly technique that precisely detects, without false positives, apparent data races in interrupt-driven programs. The technique combines a tailored lightweight labeling scheme to maintain logical concurrency between the main program and every instance of its interrupt handlers with a precise detection protocol that analyzes conflicting shared memory accesses by storing at most two accesses for each shared variable. We implemented a prototype of this technique, called iRace, on top of the Avrora simulation framework. An empirical evaluation of iRace revealed the presence of data races in some existing TinyOS components and applications with a worst-case slowdown of only about 6 times on average and an increased average memory consumption of only about 20% in comparison with the original program execution. The evaluation also proved that the labeling scheme alone generates an average runtime overhead of only about 0.4x while consuming only about 12% more memory than the original program execution.

Funder

National Research Foundation of Korea

Publisher

SAGE Publications

Subject

Computer Networks and Communications,General Engineering

Cited by 24 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Precise Dynamic Data Race Prediction for Interrupt-Driven Embedded Software;2023 IEEE 34th International Symposium on Software Reliability Engineering Workshops (ISSREW);2023-10-09

2. Real-Time Anticipation and Prevention of Hot Spots by Monitoring the Dynamic Conductance of Photovoltaic Panels;IEEE Journal of Photovoltaics;2022-07

3. gpuFI-4: A Microarchitecture-Level Framework for Assessing the Cross-Layer Resilience of Nvidia GPUs;2022 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS);2022-05

4. Development of amphibious biomimetic robots;Journal of Zhejiang University-SCIENCE A;2022-03

5. Bilateral coordination quantisation control for master-slave flexible manipulators based on PDE dynamic model;International Journal of Control;2021-04-13

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3