Instrumentation Utilities

The drutil DynamoRIO Extension provides various utilities for inserting instrumentation.


To use drutil with your client simply include this line in your client's CMakeLists.txt file:

use_DynamoRIO_extension(clientname drutil)

That will automatically set up the include path and library dependence.

Initialize and clean up drutil by calling drutil_init() and drutil_exit().


The drutil API routines can be used individually in your client. Each routine has its own documentation. Some routines require use of the drmgr Extension in your client in order to properly order each instrumentation action.

LGPL 2.1 License

The drutil Extension is licensed under the LGPL 2.1 License and NOT the BSD license used for the rest of DynamoRIO.