DynamoRIO
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 ]

Top-level include file for DynamoRIO API.
DR_EXPORT void dr_client_main(client_id_t id, int argc, const char *argv[])
uint client_id_t
Definition: dr_defines.h:357