Lightweight control-flow instrumentation and postmortem analysis in support of debugging

作者:Peter Ohmann, Ben Liblit

摘要

Debugging is difficult and costly. As a programmer looks for a bug, it would be helpful to see a complete trace of events leading to the point of failure. Unfortunately, full tracing is simply too slow to use after deployment, and may even be impractical during testing. We aid post-deployment debugging by giving programmers additional information about program activity shortly before failure. We use latent information in post-failure memory dumps, augmented by low-overhead, tunable run-time tracing. Our results with a realistically-tuned tracing scheme show low enough overhead (0–5 %) to be used in production runs. We demonstrate several potential uses of this enhanced information, including a novel postmortem static slice restriction technique and a reduced view of potentially-executed code. Experimental evaluation shows our approach to be very effective. For example, our analyses shrink stack-sensitive interprocedural static slices by 53–78 % in larger applications.

论文关键词:Postmortem program analysis, Debugging, Core dumps , Static program slicing, Path tracing, Coverage

论文评审过程:

论文官网地址:https://doi.org/10.1007/s10515-016-0190-1