|
ABSTRACT
Translation-based virtual execution environments (VEEs) are becoming increasingly popular because of their usefulness. With dynamic translation, a program in a VEE has two binaries: an input source binary and a dynamically generated target binary. Program analysis is important for these binaries, and both the developers and users of VEEs need an instrumentation system to customize program analysis tools. However, existing instrumentation systems for use in VEEs have two drawbacks. First, they are tightly bound with a specific VEE and thus are difficult to reuse without a lot of effort. Second, most of them can not support instrumentation on both the source and target binaries.This paper presents Dimension, a flexible tool that provides instrumentation services for a variety of VEEs. To our knowledge, it is the first stand-alone instrumentation tool that is specially designed for use in VEEs. Given an instrumentation specification, Dimension can be used by a VEE to provide customized instrumentation, enabling analyses on both the source and target binaries.We present two case studies demonstrating that Dimension can be reused easily by different VEEs. We experiment with the two cases and show that the same instrumentation provided by Dimension does not lose efficiency compared to its manual implementation for that particular VEE (the average performance difference is within 2%). We also illustrate that by interfacing with a special VEE that has the same source and target binary formats, Dimension can be used to build an efficient dynamic instrumentation system for traditional execution environments.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
Matthew Arnold , Stephen Fink , David Grove , Michael Hind , Peter F. Sweeney, Adaptive optimization in the Jalapeño JVM, Proceedings of the 15th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, p.47-65, October 2000, Minneapolis, Minnesota, United States
|
 |
2
|
Vasanth Bala , Evelyn Duesterwald , Sanjeev Banerjia, Dynamo: a transparent dynamic optimization system, Proceedings of the ACM SIGPLAN 2000 conference on Programming language design and implementation, p.1-12, June 18-21, 2000, Vancouver, British Columbia, Canada
|
| |
3
|
|
| |
4
|
|
| |
5
|
B. Cantrill, M. Shapiro and A. Leventhal. Dynamic Instrumentation of Production Systems. In Proc. of Symp. on Operating Systems Design and Implementation, December 2004.
|
 |
6
|
|
| |
7
|
|
| |
8
|
Clara Jaramillo, Rajiv Gupta, Mary Lou Soffa. Debugging and Testing Optimizers through Comparison Checking. Electronic Notes in Theoretical Computation Science, 65(2), 2002.
|
| |
9
|
The Java Technology website. http://java.sun.com/.The JRat website. http://jrat.sourceforge.net/.
|
| |
10
|
The JRat website. http://jrat.sourceforge.net/.
|
 |
11
|
|
 |
12
|
|
 |
13
|
Naveen Kumar , Jonathan Misurda , Bruce R. Childers , Mary Lou Soffa, Instrumentation in software dynamic translators for self-managed systems, Proceedings of the 1st ACM SIGSOFT workshop on Self-managed systems, p.90-94, October 31-November 01, 2004, Newport Beach, California
[doi> 10.1145/1075405.1075423]
|
| |
14
|
|
 |
15
|
Chi-Keung Luk , Robert Cohn , Robert Muth , Harish Patil , Artur Klauser , Geoff Lowney , Steven Wallace , Vijay Janapa Reddi , Kim Hazelwood, Pin: building customized program analysis tools with dynamic instrumentation, Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation, June 12-15, 2005, Chicago, IL, USA
|
| |
16
|
J. Maebe, M. Ronsse and K. De Bosschere. Diota: Dynamic Instrumentation, Optimization and Transformation of Applications. In Comp. of Workshops and Tutorials held in conjunction with the 11th Intl. Conf. on Parallel Architectures and Compilation Techniques, September 2002.
|
 |
17
|
Jonathan Misurda , James A. Clause , Juliya L. Reed , Bruce R. Childers , Mary Lou Soffa, Demand-driven structural testing with dynamic instrumentation, Proceedings of the 27th international conference on Software engineering, p.156-165, May 15-21, 2005, St. Louis, MO, USA
[doi> 10.1145/1062455.1062496]
|
| |
18
|
N. Nethercote. Dynamic Binary Analysis and Instrumentation or Building Tools is Easy. Ph.D. Thesis, University of Cambridge, November 2004.
|
| |
19
|
|
| |
20
|
K. Scott , N. Kumar , S. Velusamy , B. Childers , J. W. Davidson , M. L. Soffa, Retargetable and reconfigurable software dynamic translation, Proceedings of the international symposium on Code generation and optimization: feedback-directed and runtime optimization, March 23-26, 2003, San Francisco, California
|
| |
21
|
A. Srivastava, A. Edwards and H. Vo. Vulcan: Binary Transformation in A Distributed Environment. Technical Report MSR-TR-2001-50, Microsoft Research, April 2001.
|
 |
22
|
|
| |
23
|
The Transitive website. http://www.transitive.com/.
|
CITED BY 2
|
|
Lei Gao , Stefan Kraemer , Rainer Leupers , Gerd Ascheid , Heinrich Meyr, A fast and generic hybrid simulation approach using C virtual machine, Proceedings of the 2007 international conference on Compilers, architecture, and synthesis for embedded systems, September 30-October 03, 2007, Salzburg, Austria
|
|
|
|
|