Transparent debugging of dynamically instrumented programs

Abstract

Dynamic instrumentation systems, used for program analysis, bug isolation, software security and simulations, are becoming increasingly popular. There exists a need to debug dynamically instrumented programs while keeping the presence of dynamic instrumentation system hidden from debug users. Existing debuggers use debug information in program binaries that have been generated by a compiler at static compile time, to provide their debug support. Since dynamic instrumentation systems generate program code at run-time, existing debuggers are not able to provide the same kind of debug support. The most comprehensive existing debug techniques that satisfy this need, used by Tdb, require modification of existing debuggers. This paper provides an OS level approach that silently intercepts the communication between a debugger and the OS and uses a set of debug specifications to provide Tdb's transparent debugging. As a result, any existing debugger can be used to debug dynamically instrumented programs. The proposed techniques have been implemented on x86/Linux platform for the dynamic instrumentation system Pin.

DOI: 10.1145/1127577.1127589

Extracted Key Phrases

2 Figures and Tables

Cite this paper

@article{Kumar2005TransparentDO, title={Transparent debugging of dynamically instrumented programs}, author={Naveen Kumar and Ramesh Peri}, journal={SIGARCH Computer Architecture News}, year={2005}, volume={33}, pages={57-62} }