Relational interprocedural analysis of concurrent programs - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 2008

Relational interprocedural analysis of concurrent programs

Abstract

We extend the relational approach to interprocedural analysis of sequential programs to concurrent programs composed of a fixed number of threads. In the relational approach, a sequential program is analyzed by computing summaries of procedures, and by propagating reachability information using these summaries. We generalize this approach to concurrent programs by computing for each thread procedure summaries that takes into account the parallel execution of the other threads. Technically, we define our analysis method by instrumenting the operational semantics of programs, then by abstracting the call-stacks of the concurrent threads, and last by abstracting the program environments in order to lead to an effective analysis that always terminates. This method allows to extend to concurrent programs existing relational interprocedural analysis (e.g., numerical variables analysis, shape analysis). We implemented it for programs with scalar variables, and we experiment several classical synchronisation protocols in order to illustrate the precision of our technique, but also to analyze the approximations it performs.
Fichier principal
Vignette du fichier
RR-6671.pdf (530.62 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

inria-00328045 , version 1 (09-10-2008)

Identifiers

  • HAL Id : inria-00328045 , version 1

Cite

Bertrand Jeannet. Relational interprocedural analysis of concurrent programs. [Research Report] RR-6671, INRIA. 2008, pp.36. ⟨inria-00328045⟩
110 View
105 Download

Share

Gmail Facebook X LinkedIn More