-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cdac] Implement GetObjectStringData #105061
Conversation
Tagging subscribers to this area: @tommcdon |
string IObject.GetStringValue(TargetPointer address) | ||
{ | ||
TargetPointer mt = GetMethodTableAddress(address); | ||
if (mt != _stringMethodTable) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DAC also does DacValidateMethodTable
(cDAC equivalent would be RuntimeTypeSystem.GetTypeHandle
), but it seemed unnecessary since we check that it is the known string method table.
Co-authored-by: Jeremy Koritzinsky <[email protected]>
Co-authored-by: Aleksey Kliger (λgeek) <[email protected]>
String
andObject
in data descriptorObject
contract for getting information about known managed objectsISOSDacInterface::GetObjectStringData
Contributes to #99302