Alex Rivera | Logout

Technique for iterating through variables and finding Instances of a specific Type

Asked 2012-04-10T19:50:36.130
8

i want to iterate through variables in memory in my process (loaded through a plugin dynamically), and look for instances of a specific type.

Previously i can find the specific types (or all types in memory). I can create instances of types, i could get instances that were contained as fields in a different type, but i don't know anyway just to "search" for instances of a specific type.

Edit
Report

1 Answer

2

One way would be to use windbg and sos. You can !dumpheap with a -type flag.

answered 2012-04-10T19:57:11.837

Your Answer