0

We can get the method table and EEClass if we know the object pointer in .Net managed code. Based on that, but how the Windbg with SOS to get the object name? Just curious.

ken
  • 63
  • 1
  • 4
  • The SOS extension gets the object name from undocumented DAC (Data Access) APIs in mscordacwks.dll. Since the runtime is now open source, you can find more details if you dig into the code on GitHub. I'm posting this as a comment, because it would be more helpful if I could explain exactly where to find tho code. I have not yet looked at the code on GitHub. – Steve Johnson Jun 15 '16 at 16:02
  • @SteveJohnson: I tried to find it on Github and failed. Mybe I should get a local copy instead of browsing it in the Internet. Do you often need to read SOS code when you implement SOSEX? – Thomas Weller Jul 20 '16 at 20:23

0 Answers0