Checking Race Freedom via Linear Programming

被引:14
|
作者
Terauchi, Tachio [1 ]
机构
[1] Tohoku Univ, Sendai, Miyagi 980, Japan
来源
PLDI'08: PROCEEDINGS OF THE 2008 SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN & IMPLEMENTATION | 2008年
关键词
Fractional Capabilities; Linear Programming;
D O I
10.1145/1375581.1375583
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a new static analysis for race freedom and race detection. The analysis checks race freedom by reducing the problem to (rational) linear programming. Unlike conventional static analyses for race freedom or race detection, our analysis avoids explicit computation of locksets and lock linearity/must-aliasness. Our analysis can handle a variety of synchronization idioms that more conventional approaches often have difficulties with, such as thread joining, semaphores, and signals. We achieve efficiency by utilizing modem linear programming solvers that can quickly solve large linear programming instances. This paper reports on the formal properties of the analysis and the experience with applying an implementation to real world C programs.
引用
收藏
页码:1 / 10
页数:10
相关论文
empty
未找到相关数据