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
Journal ArticleDOI

Function call interception techniques

TL;DR: A survey of static and dynamic methods for intercepting function calls can be found in this article, where a variety of techniques and tools along with their applications are discussed, along with the strengths and weaknesses of different implementations in this category.
Proceedings ArticleDOI

NSan: A Floating-Point Numerical Sanitizer

TL;DR: Nsan as discussed by the authors uses compile-time instrumentation to augment each floating-point computation in the program with a higher-precision shadow which is checked for consistency during program execution.
Journal ArticleDOI

nAIT: A source analysis and instrumentation framework for nesC

TL;DR: A static analysis and instrumentation toolkit for the nesC language, the defacto standard for sensor network development, is presented to enable developers to construct tools that aid in understanding both the static and dynamic properties of reactive, event-based systems.
Proceedings ArticleDOI

Self-healing multitier architectures using cascading rescue points

TL;DR: A tool is developed that implements cascading rescue points (CRPs) by dynamically instrumenting binaries and transparently injecting notifications in the already established TCP channels between applications, and shows that it allows them to successfully recover from errors, while incurring moderate overhead.
Journal ArticleDOI

LWPTool: A Lightweight Profiler to Guide Data Layout Optimization

TL;DR: LWPTool is developed, a profiler to pinpoint top candidates that benefit from data layout optimization, and it is formally proved that the method has high accuracy even with sparse memory access samples.
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)