Skip to Main content Skip to Navigation

VMAD: a Virtual Machine for Advanced Dynamic Analysis of Programs

Abstract : In this paper, we present a virtual machine, VMAD (Virtual Machine for Advanced Dynamic analysis), enabling an efficient implementation of advanced profiling and analysis of programs. VMAD is organized as a sequence of basic operations where external modules associated to specific profiling strategies are dynamically loaded when required. The program binary files handled by VMAD are previously instrumented at compile time to include necessary data, instrumentation instructions and callbacks to the VM. Dynamic information, such as memory locations of launched modules, are patched at startup in the binary file. The LLVM compiler has been extended to automatically instrument programs according to both VMAD and the handled profiling strategies. VMAD's potential is illustrated by presenting a profiling strategy dedicated to loop nests. It collects all memory addresses that are accessed during a selected number of successive iterations of each loop. The collected addresses are consumed by an analysis process trying to interpolate addresses successively accessed through each memory reference as a linear function of some virtual loop indices. This profiling strategy using VMAD has been run on some of the SPEC2006 and Pointer Intensive benchmark suites, showing a very low time overhead, in most cases.
Complete list of metadata

Cited literature [9 references]  Display  Hide  Download
Contributor : Vincent Loechner Connect in order to contact the contributor
Submitted on : Thursday, February 24, 2011 - 10:25:56 AM
Last modification on : Wednesday, November 18, 2020 - 5:18:06 PM
Long-term archiving on: : Wednesday, May 25, 2011 - 2:21:40 AM


Files produced by the author(s)


  • HAL Id : inria-00534748, version 1



Alexandra Jimborean, Matthieu Herrmann, Vincent Loechner, Philippe Clauss. VMAD: a Virtual Machine for Advanced Dynamic Analysis of Programs. [Research Report] 2010, pp.10. ⟨inria-00534748⟩



Record views


Files downloads