Abstract Valgrind: A Framework for Heavyweight Dynamic Binary Instrumentation
Cached
Download Links
by
Nicholas Nethercote
@MISC{Nethercote_abstractvalgrind:,
author = {Nicholas Nethercote},
title = {Abstract Valgrind: A Framework for Heavyweight Dynamic Binary Instrumentation},
year = {}
}
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. Categories and Subject Descriptors D.2.5 [Software Engineering]: Testing and Debugging—debugging aids, monitors; D.3.4
Developed at and hosted by The College of Information Sciences and Technology
© 2007-2010 The Pennsylvania State University
