| 注册
首页|期刊导航|计算机科学与探索|多重中断C程序中数据竞争及原子性检测

多重中断C程序中数据竞争及原子性检测

吴学光 文艳军 王戟 傅秀涛 綦艳霞 顾斌

计算机科学与探索2011,Vol.5Issue(12):1085-1093,9.
计算机科学与探索2011,Vol.5Issue(12):1085-1093,9.DOI:10.3778/j.issn.1673-9418.2011.12.003

多重中断C程序中数据竞争及原子性检测

Data Race and Atomicity Checking for C Programs with Multiple Interruptions

吴学光 1文艳军 1王戟 1傅秀涛 2綦艳霞 2顾斌2

作者信息

  • 1. 国防科学技术大学计算机学院,长沙410073
  • 2. 中国航天科技集团北京控制工程研究所,北京100080
  • 折叠

摘要

Abstract

In C programs with multiple interruptions, the interleaving of interruptions may cause some unexpected interleaving executions and even wrong execution results. A kind of frequently occurred error is that the atomicity of programs is violated because of data race. To solve this problem, this paper introduces the abstract execution semantics for C programs under multiple interruptions, gives an atomicity definition based on the access of shared variables, presents the data race and atomicity checking algorithms based on the atomicity definition, and adopts function abstraction technique to reduce the traversed state space. At last, it designs and implements a prototype checker named MIDAC (multiple interruption C program data race and atomicity checker), and the experimental results demonstrate its effectiveness on several practical programs.

关键词

多重中断/数据竞争/原子性

Key words

multiple interruption/ data race/ atomicity

分类

信息技术与安全科学

引用本文复制引用

吴学光,文艳军,王戟,傅秀涛,綦艳霞,顾斌..多重中断C程序中数据竞争及原子性检测[J].计算机科学与探索,2011,5(12):1085-1093,9.

基金项目

The National Natural Science Foundation of China under Grant No.90818024(国家自然科学基金) (国家自然科学基金)

the National Science Foundation for Distinguished Young Scholars of China under Grant No.60725206(国家杰出青年科学基金). (国家杰出青年科学基金)

计算机科学与探索

OACSCDCSTPCD

1673-9418

访问量0
|
下载量0
段落导航相关论文