DynamoRIO / DynamoRIO/dynamorio
suspend all threads on takeover, for duration of DR init, for all injection paths
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on October 25, 2013 14:46:17_
Xref issue #1304 .
We obviously want to do this for externally-triggered attach (xref issue
38 , issue #725 ). Today's internally-triggered attach ( issue #722 ) assumes
the app has called our init routine up front and that we just need to take
over all the threads later.
Even for regular injection, to handle corner cases of early threads, we
should suspend all the other threads for the duration of DR's init to
satisfy the parts of the init process that assume there are no races.
_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1305_
Contributor guide
Assessment
This issue has not been assessed yet.