Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-10-2005, 10:19 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 16

Rep: Reputation: 0
contents of vtable and objdump utilty

how to check the contents of a c++ executable file. I am able to compile a cpp. I have to see the contents of the executable and understand the organization of the vtables in it. For this I think I can make use of objdump utility. May I know to use this utility..

K. Krishna Chaitanya

Thanks a lot in advance
Old 02-11-2005, 05:21 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
What do you want to get from the file? objdump has quite many options.
Old 02-11-2005, 07:57 PM   #3
LQ Newbie
Registered: Jan 2005
Posts: 16

Original Poster
Rep: Reputation: 0
I was asked to study the layout of vtable in a c++ object file. can I do that using objdump utility. Is there any other way of doing the same. I think there is an option -fvtable which comes with gcc, can I use this for the purpose. Please help me out.

I want to take some sample c++ files and make a report ( for an academic assignment ) on the layout of the vtable in the object files.

Thanks in advance.

K. Krishna Chaitanya


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VTable Program lucky6969b Linux - Software 0 12-02-2005 03:33 AM
objdump usage cranium2004 Linux - Newbie 0 01-20-2005 01:00 AM
Using objdump for decompiling JIV Programming 0 06-13-2004 08:33 AM
network utilty? mchitrakar Linux - Networking 4 04-22-2004 09:25 AM
Vtable in QT3 hpcpg Programming 0 01-23-2004 09:00 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration