Efficient program execution indexing
Authors:
Open Access
- 30 May 2008
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 43 (6) , 238-248
Abstract
Execution indexing uniquely identifies a point in an execution. Desirable execution indices reveal correlations between points in an execution and establish correspondence between points across multiple executions. Therefore, execution indexing is essential for a wide variety of dynamic program analyses, for example, it can be used to organize program profiles; it can precisely identify the point in a re-execution that corresponds to a given point in an original execution and thus facilitate debugging or dynamic instrumentation. In this paper, we formally define the concept of execution index and propose an indexing scheme based on execution structure and program state. We present a highly optimized online implementation of the technique. We also perform a client study, which targets producing a failure inducing schedule for a data race by verifying the two alternative happens-before orderings of a racing pair. Indexing is used to precisely locate corresponding points across multiple executions in the presence of non-determinism so that no heavyweight tracing/replay system is needed.Keywords
This publication has 18 references indexed in Scilit:
- Automatically classifying benign and harmful data races using replay analysis2007
- Framework for instruction-level tracing and analysis of program executions2006
- Accurately Choosing Execution Runs for Software Fault Localization2006
- Finding application errors and security flaws using PQL2005
- A serializability violation detector for shared-memory server programs2005
- Implementing protocols via declarative event patterns2004
- Isolating cause-effect chains from computer programs2002
- Timestamped whole program path representation and its applications2001
- EraserACM Transactions on Computer Systems, 1997
- The program dependence graph and its use in optimizationACM Transactions on Programming Languages and Systems, 1987