I wrote a very basic Hello World
program to know about sections. After using objdump
I got all sections. I am using ubuntu 12.04
.
in output I found it like that :
Disassembly of section .init
Disassembly of section .plt
Disassembly of section .text
__do_global_dtors_aux
Disassembly of section .fini
I want to know what those sections are? what data they store? Specially .plt
and .fini
. About .init
and .text
I can guess, but what about others?
You should google it : here is the first result. It's a good start to learn more about ELF format.
About .init
and .fini
, it's here.
Here is a list of the ELF sections with a brief description.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With