scispace - formally typeset
Journal ArticleDOI

An API for Runtime Code Patching

Reads0
Chats0
TLDR
The authors present a postcompiler program manipulation tool called Dyninst, which provides a C++ class library for program instrumentation that permits machine-independent binary instrumentation programs to be written.
Abstract
The authors present a postcompiler program manipulation tool called Dyninst, which provides a C++ class library for program instrumentation. Using this library, it is possible to instrument and modify application programs during execution. A unique feature of this library is that it permits machine-independent binary instrumentation programs to be written. The authors describe the interface that a tool sees when using this library. They also discuss three simple tools built using this interface: a utility to count the number of times a function is called, a program to capture the output of an already running program to a file, and an implementation of conditional breakpoints. For the conditional breakpoint example, the authors show that by using their interface compared with gdb, they are able to execute a program with conditional breakpoints up to 900 times faster.

read more

Content maybe subject to copyright    Report

Citations
More filters
Book ChapterDOI

A Survey of Dynamic Program Analysis Techniques and Tools

TL;DR: An overview of the existing techniques and tools for the dynamic analysis of programs is provided and the paper compares these techniques for their merits and demerits and emphasizes the importance of each technique.
Book ChapterDOI

Advances in the TAU performance system

TL;DR: In this article, the authors present a rule-based analysis of performance data in an iterative instrumentation process and describe an online performance data access, analysis, and visualization system that will form the basis of a large-scale performance interaction and steering system.
Proceedings ArticleDOI

Moving the Code to the Data - Dynamic Code Deployment Using ActiveSpaces

TL;DR: This paper presents the Active Spaces framework, which provides programming support for defining the data-processing routines to be downloaded to the staging area, and run-time mechanisms for transporting binary codes associated with these routines to the staged area, executing the routines on the nodes of the staging Area, and returning the results.
Patent

A method for automatically generating a trace data set for a software system, a computer system, and a computer program product

TL;DR: In this paper, a trace data set for a software system on a computer system is automatically generated by inserting a plurality of tracing instructions into the binary code, each of the tracing instructions configured to initiate trace data generation during runtime of the software system.
Journal ArticleDOI

Design and implementation of a dynamic tuning environment

TL;DR: This paper describes design and implementation of the MATE environment (Monitoring, Analysis and Tuning Environment), which is developed as a step towards dynamically tuning parallel/distributed applications.
References
More filters
Proceedings ArticleDOI

ATOM: a system for building customized program analysis tools

TL;DR: ATOM as mentioned in this paper is a single framework for building a wide range of customized program analysis tools, including block counting, profiling, dynamic memory recording, instruction and data cache simulation, pipeline simulation, evaluating branch prediction, and instruction scheduling.
Journal ArticleDOI

The Paradyn parallel performance measurement tool

TL;DR: Dynamic instrumentation lets us defer insertion until the moment it is needed (and remove it when it is no longer needed); Paradyn's Performance Consultant decides when and where to insert instrumentation.
Proceedings ArticleDOI

EEL: machine-independent executable editing

TL;DR: EEL supports a machine- and system-independent editing model that enables tool builders to modify an executable without being aware of the details of the underlying architecture or operating system or being concerned with the consequences of deleting instructions or adding foreign code.
Proceedings Article

Instrumentation and optimization of Win32/intel executables using Etch

TL;DR: Etch is a general-purpose tool for rewriting arbitrary Win32/x86 binaries without requiring source code and some of the tools that are built using it are described, including a hierarchical call graph profiler and an instruction layout optimization tool.
Proceedings ArticleDOI

Dynamic program instrumentation for scalable performance tools

TL;DR: This work presents a new technique called 'dynamic instrumentation' that provides efficient, scalable, yet detailed data collection for large-scale parallel applications and includes recommendations to operating system designers, compiler writers, and computer architects about the features necessary to permit efficient monitoring of large- scale parallel systems.
Related Papers (5)