What is the meaning of objdump table?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
gapry
Posts: 10
Joined: Sat Aug 25, 2012 7:42 pm

What is the meaning of objdump table?

Post by gapry »

$objdump -h obj/kern/kernel

It shows the table, but some title which I don't what it say.

There are File off, Algn and CONTENTS.

How can I find the message?
Attachments
Screen Shot 2013-07-19 at 11.19.08 PM.png
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: What is the meaning of objdump table?

Post by iansjack »

As a matter of interest, what were you expecting? Why did you type the command in the first place?
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: What is the meaning of objdump table?

Post by bluemoon »

You can find more information of those terms from the spec of such executable format (in this case, elf32-i386 specification).

For instant, File Off means the offset of such item within the file, align means alignment of such item within the parent.

Read the wiki for detail on ELF.
User avatar
dozniak
Member
Member
Posts: 723
Joined: Thu Jul 12, 2012 7:29 am
Location: Tallinn, Estonia

Re: What is the meaning of objdump table?

Post by dozniak »

gapry wrote:How can I find the message?
The medium is the message.
Learn to read.
Post Reply