DynamoRIO / DynamoRIO/dynamorio

suspend all threads on takeover, for duration of DR init, for all injection paths

Open
#1,305 2 comments 0 reactions 0 assignees View on GitHub
Migrated Priority-Medium Type-Feature
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.