DynamoRIO / DynamoRIO/dynamorio
suspend client threads while the process is native
Open
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
Split from #2335. See discussion there for background which I will summarize here:
Since we remove our signal handlers when we send the process native (for dr_app_stop() or -go_native_at_bb_count), it is not safe for client threads to continue executing, as they often have itimers or might call dr_safe_read() or whatnot. The proposal is to have send_all_other_threads_native() suspend them for the duration of the process being native.
Contributor guide
Assessment
This issue has not been assessed yet.