Software verification for weak memory via program transformation

  • Authors:
  • Jade Alglave;Daniel Kroening;Vincent Nimal;Michael Tautschnig

  • Affiliations:
  • University College London, UK, University of Oxford, UK;University of Oxford, UK;University of Oxford, UK;University of Oxford, UK, Queen Mary, University of London, UK

  • Venue:
  • ESOP'13 Proceedings of the 22nd European conference on Programming Languages and Systems
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Multiprocessors implement weak memory models, but program verifiers often assume Sequential Consistency (SC), and thus may miss bugs due to weak memory. We propose a sound transformation of the program to verify, enabling SC tools to perform verification w.r.t. weak memory. We present experiments for a broad variety of models (from x86-TSO to Power) and a vast range of verification tools, quantify the additional cost of the transformation and highlight the cases when we can drastically reduce it. Our benchmarks include work-queue management code from PostgreSQL.