[Haifux] A question about g++ dump files

guy keren choo at actcom.co.il
Fri Dec 21 02:11:39 MSK 2007


shirab at t2.technion.ac.il wrote:
> Hello,
> 
> I have a question about binary files of g++ , please:
> in the option
>  g++ -fdump-class-hierarchy source.cpp
> I get the hierarchies of c++ in memory, in a file named source.cpp.class
> How can I get the binary data of it?

i did not understand what you said about "get the binary data of it" - 
the binary data of what?

if you're asking about getting the class hierarchy out of executable 
files - i'm afraid you are out of luck - that information is not kept in 
executable files.

--guy



More information about the Haifux mailing list