Can I call dr_app_setup_and_start in a signal handler ?

1 view
Skip to first unread message

吕志宏

unread,
11:28 AM (9 hours ago) 11:28 AM
to DynamoRIO Users
I want to perform tracing at a certain stage during application execution. Is it possible to call `dr_app_setup_and_start` by sending a signal? Or is there a better alternative?

Kai Luk

unread,
12:09 PM (8 hours ago) 12:09 PM
to DynamoRIO Users
Could you modify the application?

> If the application can be modified, it can be linked with the \p drmemtrace
tracer and use DynamoRIO's start/stop API routines dr_app_setup_and_start()
and dr_app_stop_and_cleanup() to delimit the desired trace region.

for an example.

Kai 

Reply all
Reply to author
Forward
0 new messages