Saved in:
Bibliographic Details
Main Authors: He, Hang, Luo, Yixing, Wan, Chengcheng, Su, Ting, Sun, Haiying, Pu, Geguang
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.00521
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908536342052864
author He, Hang
Luo, Yixing
Wan, Chengcheng
Su, Ting
Sun, Haiying
Pu, Geguang
author_facet He, Hang
Luo, Yixing
Wan, Chengcheng
Su, Ting
Sun, Haiying
Pu, Geguang
contents Atomicity violations in interrupt-driven programs pose a significant threat to software reliability in safety-critical systems. These violations occur when the execution sequence of operations on shared resources is disrupted by asynchronous interrupts. Detecting atomicity violations is challenging due to the vast program state space, application-level code dependencies, and complex domain-specific knowledge. In this paper, we propose CLOVER, a multi-agent framework for detecting atomicity violations in real-world interrupt-driven programs. Its plan agent orchestrates four static analysis tools to extract key information and generate code summaries. CLOVER then initializes several Expert-Judge agent pairs to detect and validate different patterns of atomicity violation, through an iterative manner. Evaluations on RaceBench, SV-COMP, and RWIP demonstrate that CLOVER achieves a precision/recall of 91.0%/96.4%, outperforming existing approaches by 33.0-117.2% on F1-score. Additionally, it identifies 12 atomicity violations in 11 real-world aerospace software projects, one of which is previously unknown.
format Preprint
id arxiv_https___arxiv_org_abs_2504_00521
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Automated detection of atomicity violations in large-scale systems
He, Hang
Luo, Yixing
Wan, Chengcheng
Su, Ting
Sun, Haiying
Pu, Geguang
Software Engineering
Artificial Intelligence
Atomicity violations in interrupt-driven programs pose a significant threat to software reliability in safety-critical systems. These violations occur when the execution sequence of operations on shared resources is disrupted by asynchronous interrupts. Detecting atomicity violations is challenging due to the vast program state space, application-level code dependencies, and complex domain-specific knowledge. In this paper, we propose CLOVER, a multi-agent framework for detecting atomicity violations in real-world interrupt-driven programs. Its plan agent orchestrates four static analysis tools to extract key information and generate code summaries. CLOVER then initializes several Expert-Judge agent pairs to detect and validate different patterns of atomicity violation, through an iterative manner. Evaluations on RaceBench, SV-COMP, and RWIP demonstrate that CLOVER achieves a precision/recall of 91.0%/96.4%, outperforming existing approaches by 33.0-117.2% on F1-score. Additionally, it identifies 12 atomicity violations in 11 real-world aerospace software projects, one of which is previously unknown.
title Automated detection of atomicity violations in large-scale systems
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2504.00521