+-[ELF Header]------------------------------------------+ | 7F E L F 01 01 01 00 00 00 00 00 00 00 00 00 02 00 | | 03 00 01 00 00 00 00 90 04 08 34 00 00 00 D0 20 00 00 | | 00 00 00 00 34 00 20 00 03 00 28 00 06 00 05 00 /-----+ +--+---------------------------------------------/ +-- Entry point address: 0x08049000 +-- Program header file offset: 0x34 +-- Program header size: 32 (0x20) \-- Program header count: 3 | +-- Program Header 0 at 0x34, type: PT_LOAD +-- Program Header 1 at 0x54, type: PT_LOAD +-- Program Header 2 at 0x74, type: PT_LOAD +-[Program Header 0]------------------------------+ | 01 00 00 00 00 00 00 00 00 80 04 08 00 80 04 08 | | 94 00 00 00 94 00 00 00 04 00 00 00 00 10 00 00 | +--+----------------------------------------------+ +-- File data start offset: 0x0 +-- File data bytes to load: 148 (0x94) +-- Memory segment start addr: 0x08048000 +-- Memory segment byte size: 148 (0x94) +-- Memory segment flags: R (0x4) from 8048000 to 8048094... 0x08048000 7f 45 4c 46 01 01 01 00 00 00 00 00 .ELF........ 0x0804800c 00 00 00 00 02 00 03 00 01 00 00 00 ............ 0x08048018 00 90 04 08 34 00 00 00 d0 20 00 00 ....4....... 0x08048024 00 00 00 00 34 00 20 00 03 00 28 00 ....4.....(. ...100 more bytes to load... +-[Program Header 1]------------------------------+ | 01 00 00 00 00 10 00 00 00 90 04 08 00 90 04 08 | | 22 00 00 00 22 00 00 00 05 00 00 00 00 10 00 00 | +--+----------------------------------------------+ +-- File data start offset: 0x1000 +-- File data bytes to load: 34 (0x22) +-- Memory segment start addr: 0x08049000 +-- Memory segment byte size: 34 (0x22) +-- Memory segment flags: R+X (0x5) +-- Contains entry point 0x08049000 from 8049000 to 8049022... 0x08049000 ba 0d 00 00 00 b9 00 a0 04 08 bb 01 ............ 0x0804900c 00 00 00 b8 04 00 00 00 cd 80 bb 00 ............ 0x08049018 00 00 00 b8 01 00 00 00 cd 80 .......... +-[Program Header 2]------------------------------+ | 01 00 00 00 00 20 00 00 00 A0 04 08 00 A0 04 08 | | 0D 00 00 00 0D 00 00 00 06 00 00 00 00 10 00 00 | +--+----------------------------------------------+ +-- File data start offset: 0x2000 +-- File data bytes to load: 13 (0xd) +-- Memory segment start addr: 0x0804a000 +-- Memory segment byte size: 13 (0xd) +-- Memory segment flags: R+W (0x6) from 804a000 to 804a00d... 0x0804a000 48 65 6c 6c 6f 20 57 6f 72 6c 64 21 Hello.World! 0x0804a00c 0a