DynamoRIO / DynamoRIO/dynamorio
document segment selector and base information vs mcontext
Open
Component-Docs
Hotlist-Release
Usability
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
We should add this info to the docs, from an email sent in reply to a question on the users list:
If you mean the segment selector value in the register, it should work to
call dr_switch_to_app_state() and then read the current register. If you
mean the segment base it points to, see dr_insert_get_seg_base(),
dr_get_dr_segment_base(), or call opnd_compute_address() on fs:0 or sthg.
Contributor guide
Assessment
This issue has not been assessed yet.