Skip to content

Instantly share code, notes, and snippets.

@shlevy
Created April 9, 2011 22:45
Show Gist options
  • Select an option

  • Save shlevy/911854 to your computer and use it in GitHub Desktop.

Select an option

Save shlevy/911854 to your computer and use it in GitHub Desktop.
Elf file type is EXEC (Executable file)
Entry point 0x8048df0
There are 9 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x08047034 0x08047034 0x00120 0x00120 R E 0x4
GNU_STACK 0x001000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4
LOAD 0x000000 0x08047000 0x08047000 0x01000 0x01000 RW 0x1000
INTERP 0x000154 0x08047154 0x08047154 0x0004b 0x0004b R 0x1
[Requesting program interpreter: /nix/store/m9p1r0p6qlaw5wy5hnwpii323la3s8j3-glibc-2.12.2/lib/ld-linux.so.2]
LOAD 0x001000 0x08048000 0x08048000 0xf3ce40 0xf3ce40 R E 0x1000
NOTE 0x001148 0x08048148 0x08048148 0x00020 0x00020 R 0x4
GNU_EH_FRAME 0xf3dda8 0x08f84da8 0x08f84da8 0x00024 0x00024 R 0x4
LOAD 0xf3e000 0x08f85000 0x08f85000 0x00274 0x08284 RW 0x1000
DYNAMIC 0xf3e030 0x08f85030 0x08f85030 0x000e0 0x000e0 RW 0x4
Section to Segment mapping:
Segment Sections...
00
01
02 .interp
03 .interp
04 .note.ABI-tag .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
05 .note.ABI-tag
06 .eh_frame_hdr
07 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss
08 .dynamic
Dynamic section at offset 0xf3e030 contains 23 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000c (INIT) 0x8048b04
0x0000000d (FINI) 0x8f84aec
0x00000004 (HASH) 0x8048168
0x00000005 (STRTAB) 0x80486a0
0x00000006 (SYMTAB) 0x80482f0
0x0000000a (STRSZ) 510 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x8f85124
0x00000002 (PLTRELSZ) 336 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x80489b4
0x00000011 (REL) 0x8048994
0x00000012 (RELSZ) 32 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffb (FLAGS_1) Flags: ORIGIN
0x6ffffffe (VERNEED) 0x8048914
0x6fffffff (VERNEEDNUM) 3
0x6ffffff0 (VERSYM) 0x804889e
0x00000000 (NULL) 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment