Search found 2 matches

by momono
Fri Jun 24, 2016 1:43 pm
Forum: Using .NET Memory Profiler
Topic: Field values using API
Replies: 2
Views: 7914

Re: Field values using API

I was able to identify correct instance by traversing all instance of type and checking for id. Id is type of YourType. You have to know its size and position so it make some time to find.In my case its struct holding long. First four bytes in GetInstanceData seems to contain instanceId or whatever ...
by momono
Thu Jun 23, 2016 3:09 pm
Forum: Using .NET Memory Profiler
Topic: Field values using API
Replies: 2
Views: 7914

Field values using API

Hi, I'm trying to get values for objects from API. My intend is to rebuild the object from data that are availble in dump. I've retrieved TypeInstance using comparison.GetTypeInstance(instanceId) but it returns only reference fields on GetReferencesAndFields(ReferencesOption.Default) call. I require...