Top-level include file for DynamoRIO API. More...
|DR_EXPORT void||dr_client_main (client_id_t id, int argc, const char *argv)|
|DR_EXPORT void||dr_init (client_id_t id)|
Top-level include file for DynamoRIO API.
|DR_EXPORT void dr_client_main||(||client_id_t||id,|
|const char *||argv|
When registering a process, users must provide a list of paths to client libraries and their associated client-specific options. DR looks up "dr_client_main" in each client library and calls that function when the process starts. Clients can register to receive callbacks for the various events within dr_client_main(). Note that client paths and options cannot include semicolons.
The arguments passed to the client are specified in
argv. To match standalone application conventions,
argv is set to the client library path, with the actual parameters starting at index 1.