Skip to content

Instantly share code, notes, and snippets.

@mrosset
Created July 29, 2012 20:07
Show Gist options
  • Save mrosset/3201568 to your computer and use it in GitHub Desktop.
Save mrosset/3201568 to your computer and use it in GitHub Desktop.
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x29b54
Start of program headers: 52 (bytes into file)
Start of section headers: 276 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 7
Size of section headers: 40 (bytes)
Number of section headers: 24
Section header string table index: 12
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x00010034 0x00010034 0x000e0 0x000e0 R E 0x1000
INTERP 0x000bdc 0x00010bdc 0x00010bdc 0x00024 0x00024 R 0x1
[Requesting program interpreter: /data/data/gnuoid/lib/ld-linux.so.3]
LOAD 0x000000 0x00010000 0x00010000 0xcd78c 0xcd78c R E 0x1000
LOAD 0x0ce000 0x000de000 0x000de000 0x04460 0x413794 RW 0x1000
DYNAMIC 0x0ce038 0x000de038 0x000de038 0x00098 0x00098 RW 0x4
TLS 0x000000 0x00000000 0x00000000 0x00000 0x00008 R 0x4
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .interp .plt .dynsym .dynstr .gnu.version .gnu.version_r .hash .rel .shstrtab .text .rodata .gosymtab .gopclntab .rel.plt
03 .got.plt .got .dynamic .noptrdata .data .bss .noptrbss
04 .dynamic
05
06
Dynamic section at offset 0xce038 contains 19 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x00000004 (HASH) 0xdd3ac
0x00000006 (SYMTAB) 0xdd69c
0x0000000b (SYMENT) 16 (bytes)
0x00000005 (STRTAB) 0xdd5ac
0x0000000a (STRSZ) 238 (bytes)
0x00000011 (REL) 0xdd404
0x00000012 (RELSZ) 88 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x00000003 (PLTGOT) 0xde004
0x00000014 (PLTREL) REL
0x00000002 (PLTRELSZ) 0 (bytes)
0x00000017 (JMPREL) 0xdd34c
0x00000015 (DEBUG) 0x0
0x6ffffffe (VERNEED) 0xdd36c
0x6fffffff (VERNEEDNUM) 2
0x6ffffff0 (VERSYM) 0xdd34c
0x00000000 (NULL) 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment