0

Can we extract vtable's starting base address of a type if it implements vtable functions from DIA SDK?

Regards, Usman

Daniel Trebbien
  • 38,421
  • 18
  • 121
  • 193
Usman
  • 77
  • 2
  • 9

1 Answers1

0

This is compiler dependent of course, but the first 4 bytes of an object (if it has 1 or more virtual functions) is a pointer to its vtable.

Mario
  • 393
  • 2
  • 5
  • Object is not available at runtime. If some how I can extract base address of vtable or can offset it from base address of that type which contains vtable. For that I need to address of that type as well. I am not working with object. Suppose at runtime, I have no object at all. – Usman Nov 04 '10 at 21:24