Valgrind
Nicholas Nethercote, Julian Seward · ACM SIGPLAN Notices · 2007
Dynamic binary instrumentation (DBI) frameworks make it easy to build dynamic binary analysis (DBA) tools such as checkers and profilers. Much of the focus on DBI frameworks has been on performance; little attention has been paid to their capabilities. As a result, we believe the potential of DBI has not been fully exploited. In this paper we describe Valgrind, a DBI framework designed for building heavyweight DBA tools. We focus on its unique support for shadow values -a powerful but previously little-studied and difficult-to-implement DBA technique, which requires a tool to shadow every register and memory value with another value that describes it. This support accounts for several crucial design features that distinguish Valgrind from other DBI frameworks. Because of these features, lightweight tools built with Valgrind run comparatively slowly, but Valgrind can be used to build more interesting, heavyweight tools that are difficult or impossible to build with other DBI frameworks such as Pin and DynamoRIO.
Cited by 723 works. doi:10.1145/1273442.1250746
Authors
References
- Pin
- Valgrind
- Dynamo
- Efficient, transparent, and comprehensive runtime code manipulation
- An Infrastructure for Adaptive Dynamic Optimization
- LIFT: A Low-Overhead Practical Information Flow Tracking System for Detecting Security Attacks
- TaintTrace: Efficient Flow Tracing with Dynamic Binary Rewriting
- How to shadow every byte of memory used by a program
- Quality and speed in linear-scan register allocation
- Redux