DynamoRIO API
average_bb_size

In this tutorial we'll create a simple client that will compute the average size of basic blocks executed (in instructions) weighted by their execution frequency. We start with an empty DynamoRIO client.

#include "dr_api.h"
DR_EXPORT void
dr_client_main(client_id_t id, int argc, const char *argv[])
{
/* empty */
}

[ prev | next ]