Trace subset of a specified thread of an execution

瀏覽次數:38 次
跳到第一則未讀訊息

Woods Arrow

未讀,
2022年11月8日 凌晨3:28:282022/11/8
收件者:DynamoRIO Users
Hello,
We're working on tracing subset of execution by invoking 'dr_app_setup_and_start' and 'dr_app_stop_and_cleanup' dynamically. As a result, we do get the subset we focus and the size of tracing file is reduced. Also we mention that, even if 'dr_app_setup_and_start' is invoked only in one specified thread, several trace files generated. So our question is, does this api works on all threads of current thread? And if there is any method to trace subset of one specified thread? Thanks a lot!

Best regards,
Woods

Derek Bruening

未讀,
2022年11月10日 下午6:21:092022/11/10
收件者:Woods Arrow、DynamoRIO Users
If using drmemtrace, there is the drmemtrace_filter_threads interface to selectively trace only certain threads.  For core DR, it is complex to leave some threads unmanaged and so such modes are not well-supported, though they exist: DR_EMIT_GO_NATIVE, e.g.

--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/d192ce24-1cdd-4874-bf83-a563fe79a218n%40googlegroups.com.

Woods Arrow

未讀,
2022年11月15日 凌晨2:07:162022/11/15
收件者:DynamoRIO Users
Thanks for your suggestions firstly! This interface works as expected perfectly. Also we notice that this interface only works under client drmemtrace on x86, which could not fully fulfill our current requirement. Therefore we are working on enabling it on more clients and platforms, which will be contributed toDynamoRIO in the future. 
回覆所有人
回覆作者
轉寄
0 則新訊息