Skip to content

Instantly share code, notes, and snippets.

@augustl
Created May 2, 2014 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save augustl/b335ea4875b1baab19d9 to your computer and use it in GitHub Desktop.
Save augustl/b335ea4875b1baab19d9 to your computer and use it in GitHub Desktop.
$> readelf -W --program-headers target/mnt/halt/halt_kernel.elf
Elf file type is EXEC (Executable file)
Entry point 0x30
There are 4 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x200000 0x0000000000000000 0x0000000000000000 0x00008c 0x00008c R E 0x200000
NOTE 0x200000 0x0000000000000000 0x0000000000000000 0x000024 0x000024 R 0x4
GNU_EH_FRAME 0x200078 0x0000000000000078 0x0000000000000078 0x000014 0x000014 R 0x4
GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x10
Section to Segment mapping:
Segment Sections...
00 .note.gnu.build-id .text .eh_frame .eh_frame_hdr
01 .note.gnu.build-id
02 .eh_frame_hdr
03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment