dr_api.h File Reference

Top-level include file for DynamoRIO API. More...

#include "dr_defines.h"
#include "dr_events.h"
#include "dr_app.h"
#include "dr_ir_opnd.h"
#include "dr_tools.h"
#include "dr_proc.h"
#include "dr_ir_utils.h"
#include "dr_ir_instrlist.h"
#include "dr_ir_instr.h"
#include "dr_ir_opcodes.h"
#include "dr_ir_macros.h"

Functions

DR_EXPORT void dr_init (client_id_t client_id)


Detailed Description

Top-level include file for DynamoRIO API.


Function Documentation

DR_EXPORT void dr_init ( client_id_t  client_id  ) 

When registering a process, users must provide a list of paths to client libraries and their associated client-specific options. DR looks up "dr_init" in each client library and calls that function when the process starts. Clients can register to receive callbacks for the various events within dr_init. Note that client paths and options cannot include semicolons. client_id is the ID supplied at registration and is used to identify the client for dr_get_options(), dr_get_client_path(), and external nudges.


  DynamoRIO API version 2.0.0 --- Thu Apr 22 00:18:17 2010