Trace-Based Run-time Analysis of Message-Passing Go Programs

Martin Sulzmann, Kai Stadtmüller
9/5/2017
cs.PL

Official code: KaiSta/gopherlyzer-GoScout (7 stars, Go, last commit 2018-04-24).

Abstract

We consider the task of analyzing message-passing programs by observing their run-time behavior. We introduce a purely library-based instrumentation method to trace communication events during execution.

Show full abstract

A model of the dependencies among events can be constructed to identify potential bugs. Compared to the vector clock method, our approach is much simpler and has in general a significant lower run-time overhead. A further advantage is that we also trace events that could not commit. Thus, we can infer alternative communications. This provides the user with additional information to identify potential bugs. We have fully implemented our approach in the Go programming language and provide a number of examples to substantiate our claims.

View on arXivView PDF

Code Implementations(1)

Trace-Based Run-time Analysis of Message-Passing Go Programs

70Go, BatchfileJul 27, 20178 years ago

Similar Papers

Cite this paper

@article{sulzmann2017tracebased,
  title  = {Trace-Based Run-time Analysis of Message-Passing Go Programs},
  author = {Martin Sulzmann and Kai Stadtmüller},
  year   = {2017},
  eprint = {1709.01588},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1709.01588}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1709.01588.svg)](https://codeofpaper.com/paper/1709.01588)

Discussion