Trace-Based Run-Time Analysis of Message-Passing Go Programs
Trace-Based Run-Time Analysis of Message-Passing Go Programs
复制标题
消息传递 Go 程序的基于跟踪的运行时分析
DOI:
--
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
K. Stadtmüller
中科院分区:
文献类型:
--
作者:
Martin Sulzmann;K. Stadtmüller
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. 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 more 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.