Quantitative Static Analysis of Communication Protocols using Abstract Markov Chains

Abstract : In this paper we present a static analysis of probabilistic programs to quantify their performance properties by taking into account both the stochastic aspects of the language and those related to the execution environment. More particularly, we are interested in the analysis of communication protocols in lossy networks and we aim at inferring statically parametric bounds of some important metrics such as the expectation of the throughput or the energy consumption. Our analysis is formalized within the theory of abstract interpretation and soundly takes all possible executions into account. We model the concrete executions as a set of Markov chains and we introduce a novel notion of abstract Markov chains that provides a finite and symbolic representation to over-approximate the (possi-bly unbounded) set of concrete behaviors. We show that our proposed formalism is expressive enough to handle both probabilistic and pure non-deterministic choices within the same semantics. Our analysis operates in two steps. The first step is a classic abstract interpretation of the source code, using stock numerical abstract domains and a specific automata domain, in order to extract the abstract Markov chain of the program. The second step extracts from this chain particular invari-ants about the stationary distribution and computes its symbolic bounds using a parametric Fourier-Motzkin elimination algorithm. We present a prototype implementation of the analysis and we discuss some preliminary experiments on a number of communication protocols. We compare our prototype to the state-of-the-art probabilistic model checker Prism and we highlight the advantages and shortcomings of both approaches.
Document type :
Journal articles
Complete list of metadatas

Cited literature [20 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-02096159
Contributor : Abdelraouf Ouadjaout <>
Submitted on : Thursday, April 11, 2019 - 10:29:36 AM
Last modification on : Friday, July 5, 2019 - 3:26:03 PM

File

ouadjaout-al-fmsd19.pdf
Files produced by the author(s)

Identifiers

Citation

Abdelraouf Ouadjaout, Antoine Miné. Quantitative Static Analysis of Communication Protocols using Abstract Markov Chains. Formal Methods in System Design, Springer Verlag, inPress, ⟨10.1007/s10703-019-00331-2⟩. ⟨hal-02096159⟩

Share

Metrics

Record views

16

Files downloads

21