DynamoRIO / DynamoRIO/dynamorio
Feature Request: Add API to flush all fragments for only given thread
Open
Component-API
help wanted
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
Existing APIs for flushing fragments from the code cache (like `dr_flush_region_ex`) do so for fragments of all threads, but not for a specific thread when running with `-thread_private`. `dr_delete_fragment` does allow deleting fragments for the current thread, but doesn't help in deleting **all** fragments for that thread.
For cases where we are running with `-thread_private` and want to change instrumentation for only a given thread, it'll be useful to be able to flush fragments of the current thread only.
Contributor guide
Assessment
This issue has not been assessed yet.