DynamoRIO / DynamoRIO/dynamorio

document segment selector and base information vs mcontext

Open
#2,132 0 comments 0 reactions 1 assignee Claimed by @derekbruening View on GitHub
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

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.