Context-Bounded Analysis for POWER

被引:17
|
作者
Abdulla, Parosh Aziz [1 ]
Atig, Mohamed Faouzi [1 ]
Bouajjani, Ahmed [2 ]
Tuan Phong Ngo [1 ]
机构
[1] Uppsala Univ, Uppsala, Sweden
[2] Univ Paris Diderot, IRIF, Paris, France
关键词
RELAXED MEMORY MODELS; CHECKING; VERIFICATION; PROGRAMS; X86-TSO;
D O I
10.1007/978-3-662-54580-5_4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose an under-approximate reachability analysis algorithm for programs running under the POWER memory model, in the spirit of the work on context-bounded analysis intitiated by Qadeer et al. in 2005 for detecting bugs in concurrent programs (supposed to be running under the classical SC model). To that end, we first introduce a new notion of context-bounding that is suitable for reasoning about computations under POWER, which generalizes the one defined by Atig et al. in 2011 for the TSO memory model. Then, we provide a polynomial size reduction of the context-bounded state reachability problem under POWER to the same problem under SC: Given an input concurrent program P, our method produces a concurrent program P' such that, for a fixed number of context switches, running P' under SC yields the same set of reachable states as running P under POWER. The generated program P' contains the same number of processes as P, and operates on the same data domain. By leveraging the standard model checker CBMC, we have implemented a prototype tool and applied it on a set of benchmarks, showing the feasibility of our approach.
引用
收藏
页码:56 / 74
页数:19
相关论文
共 50 条
  • [1] Context-Bounded Analysis of TSO Systems
    Atig, Mohamed Faouzi
    Bouajjani, Ahmed
    Parlato, Gennaro
    [J]. FROM PROGRAMS TO SYSTEMS: THE SYSTEMS PERSPECTIVE IN COMPUTING, 2014, 8415 : 21 - +
  • [2] Context-bounded analysis of concurrent queue systems
    La Torre, Salvatore
    Madhusudan, P.
    Parlato, Germaro
    [J]. TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, 2008, 4963 : 299 - +
  • [3] CONTEXT-BOUNDED ANALYSIS FOR CONCURRENT PROGRAMS WITH DYNAMIC CREATION OF THREADS
    Atig, Mohamed Faouzi
    Bouajjani, Ahmed
    Qadeer, Shaz
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2011, 7 (04)
  • [4] Context-Bounded Verification of Thread Pools
    Baumann, Pascal
    Majumdar, Rupak
    Thinniyam, Ramanathan S.
    Zetzsche, Georg
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6 (POPL):
  • [5] Context-Bounded Verification of Context-Free Specifications
    Baumann, Pascal
    Ganardi, Moses
    Majumdar, Rupak
    Thinniyam, Ramanathan S.
    Zetzsche, Georg
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (POPL): : 2141 - 2170
  • [6] Context-bounded model checking of concurrent software
    Qadeer, S
    Rehof, J
    [J]. TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2005, 3440 : 93 - 107
  • [7] Context-bounded analysis for concurrent programs with dynamic creation of threads
    Uppsala University, Sweden
    不详
    不详
    [J]. Log. Methods Comp. Sci., 4 (1-48):
  • [8] Symbolic context-bounded analysis of multithreaded java']java programs
    Suwimonteerabuth, Dejvuth
    Esparza, Javier
    Schwoon, Stefan
    [J]. MODEL CHECKING SOFTWARE, PROCEEDINGS, 2008, 5156 : 270 - 287
  • [9] Context-bounded analysis of multithreaded programs with dynamic linked structures
    Bouajjani, Ahmed
    Fratani, Severine
    Qadeer, Shaz
    [J]. COMPUTER AIDED VERIFICATION, PROCEEDINGS, 2007, 4590 : 207 - +
  • [10] Context-Bounded Analysis for Concurrent Programs with Dynamic Creation of Threads
    Atig, Mohamed Faouzi
    Bouajjani, Ahmed
    Qadeer, Shaz
    [J]. TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2009, 5505 : 107 - +