Automatic analysis of DMA races using model checking and k-induction
Automatic analysis of DMA races using model checking and k-induction
复制标题
使用模型检查和 k 归纳自动分析 DMA 竞争
DOI:
10.1007/s10703-011-0124-2
复制
发表时间:
2011
影响因子:
0.8
通讯作者:
Donaldson A
中科院分区:
文献类型:
--
作者:
Donaldson A
Modern multicore processors, such as the Cell Broadband Engine, achieve high performance by equipping accelerator cores with small “scratch-pad” memories. The price for increased performance is higher programming complexity – the programmer must manually orchestrate data movement using direct memory access (DMA) operations. Programming using asynchronous DMA operations is error-prone, andDMA racescan lead to nondeterministic bugs which are hard to reproduce and fix. We present a method for DMA race analysis in C programs. Our method works by automatically instrumenting a program with assertions modeling the semantics of a memory flow controller. The instrumented program can then be analyzed using state-of-the-art software model checkers. We show that bounded model checking is effective for detecting DMA races in buggy programs. To enable automatic verification of the correctness of instrumented programs, we present a new formulation ofk-induction geared towards software, as a proof rule operating on loops. Our techniques are implemented as a tool,Scratch, which we apply to a large set of programs supplied with the IBM Cell SDK, in which we discover a previously unknown bug. Our experimental results indicate that ourk-induction method performs extremely well on this problem class. To our knowledge, this marks both the first application ofk-induction to software verification, and the first example of software model checking in the context of heterogeneous multicore processors.
登录
查看更多内容
DOI:
--
发表时间:
2010
期刊:
International Conference on Tools and Algorithms for Construction and Analysis of Systems
影响因子:
--
作者:
Alastair F. Donaldson;D. Kroening;P. Rümmer
通讯作者:
P. Rümmer
DOI:
--
发表时间:
2009
期刊:
2009 IEEE International Symposium on Parallel & Distributed Processing
影响因子:
--
作者:
Latchesar Ionkov;Aki Nyrhinen;Andrey Mirtchovski
通讯作者:
Andrey Mirtchovski
DOI:
--
发表时间:
2007
期刊:
International Conference on VLSI Design
影响因子:
--
作者:
Vishnu C. Vimjam;M. Hsiao
通讯作者:
M. Hsiao
DOI:
10.1145/1941553.1941605
发表时间:
2011
期刊:
--
影响因子:
--
作者:
Botincan M
通讯作者:
Botincan M
DOI:
--
发表时间:
1980
期刊:
CACM
影响因子:
--
作者:
D. Harel
通讯作者:
D. Harel