Checking race freedom via linear programming

被引:5
|
作者
Terauchi, Tachio [1 ]
机构
[1] Tohoku Univ, Sendai, Miyagi 980, Japan
关键词
algorithms; languages; theory; verification; fractional capabilities; linear programming;
D O I
10.1145/1379022.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 modern 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
相关论文
共 50 条
  • [1] Checking Race Freedom via Linear Programming
    Terauchi, Tachio
    PLDI'08: PROCEEDINGS OF THE 2008 SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN & IMPLEMENTATION, 2008, : 1 - 10
  • [2] Checking Data-Race Freedom of GPU Kernels, Compositionally
    Cogumbreiro, Tiago
    Lange, Julien
    Rong, Dennis Liew Zhen
    Zicarelli, Hannah
    COMPUTER AIDED VERIFICATION (CAV 2021), PT I, 2021, 12759 : 403 - 426
  • [3] Secretary Problems via Linear Programming
    Buchbinder, Niv
    Jain, Kamal
    Singh, Mohit
    MATHEMATICS OF OPERATIONS RESEARCH, 2014, 39 (01) : 190 - 206
  • [4] Regularized Multiple Criteria Linear Programming via Linear Programming
    Qi, Zhiquan
    Tian, Yingjie
    Shi, Yong
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, ICCS 2012, 2012, 9 : 1234 - 1239
  • [5] Race checking by context inference
    Henzinger, TA
    Jhala, R
    Majumdar, R
    ACM SIGPLAN NOTICES, 2004, 39 (06) : 1 - 13
  • [6] Improved linear programming methods for checking avoiding sure loss
    Nakharutai, Nawapon
    Troffaes, Matthias C. M.
    Caiado, Camila C. S.
    INTERNATIONAL JOURNAL OF APPROXIMATE REASONING, 2018, 101 : 293 - 310
  • [7] Error correction via linear programming
    Candes, E
    Rudelson, M
    Tao, T
    Vershynin, R
    46TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2005, : 295 - 308
  • [8] Secretary Problems via Linear Programming
    Buchbinder, Niv
    Jain, Kamal
    Singh, Mohit
    INTEGER PROGRAMMING AND COMBINATORIAL OPTIMIZATION, PROCEEDINGS, 2010, 6080 : 163 - +
  • [9] Register Loading via Linear Programming
    Gruia Calinescu
    Minming Li
    Algorithmica, 2015, 72 : 1011 - 1032
  • [10] Register Loading via Linear Programming
    Calinescu, Gruia
    Li, Minming
    ALGORITHMICA, 2015, 72 (04) : 1011 - 1032