Re: vtable binary format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dustin Lang <dalang@xxxxxxxxx> writes:

> Given a class, I'd like to be able to find out what its vtable will
> look like in memory.  What I need to do is find out which function
> corresponds to a given offset in the vtable.  Apparently the vtable
> stuff varies between compilers and between g++ versions, but I don't
> need to solve the problem in general, only for a particular version
> (2.95) of g++.

I'm not sure this is documented properly anywhere. Documentation for
the current version can be found at
http://www.codesourcery.com/cxx-abi/. This version is supposedly
stable and supported also by some other compilers, so I'd advise you
to upgrade.

-- 
	Falk

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux