Skip to contentSkip to conversation

Misc debugging questions

DISCUSSION fabio 2 participants 2 messages Nov 2, 2005

lore
Share & tools
lore

fabio

author
#0 lore raw

Hello,

I would like to know what represents the addresses found in objdump of a binary? Are these the address where the file will be eventually mapped to? or are these addresses the organization inside the binary file?

When a file is executed the address space assigned to it is equal from process to process, is this information contained in the binary file or it is generated/assigned by the operational system?

In general terms, what does a ELF executable file contain? anyone can point to a website with a graphical view of this format?

Thanks,

#1 lore raw
Quoted 5 lines · fabio

Hello,

I would like to know what represents the addresses found in objdump of a binary? Are these the address where the file will be eventually mapped to? or are these addresses the organization inside the binary file?

[snip]

Quoted 2 lines

In general terms, what does a ELF executable file contain? anyone can point to a website with a graphical view of this format?

Quick overview: http://www2.linuxjournal.com/article/1060
Detailed infos: http://www.skyfree.org/linux/references/ELF_Format.pdf

\Steve