Created
April 2, 2016 18:21
-
-
Save nemanjan00/e77bf113e881ab74f617c1af82c3025f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ELF Header: | |
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 | |
Class: ELF64 | |
Data: 2's complement, little endian | |
Version: 1 (current) | |
OS/ABI: UNIX - System V | |
ABI Version: 0 | |
Type: EXEC (Executable file) | |
Machine: Advanced Micro Devices X86-64 | |
Version: 0x1 | |
Entry point address: 0x400440 | |
Start of program headers: 64 (bytes into file) | |
Start of section headers: 5168 (bytes into file) | |
Flags: 0x0 | |
Size of this header: 64 (bytes) | |
Size of program headers: 56 (bytes) | |
Number of program headers: 8 | |
Size of section headers: 64 (bytes) | |
Number of section headers: 31 | |
Section header string table index: 28 | |
Section Headers: | |
[Nr] Name Type Address Offset | |
Size EntSize Flags Link Info Align | |
[ 0] NULL 0000000000000000 00000000 | |
0000000000000000 0000000000000000 0 0 0 | |
[ 1] .interp PROGBITS 0000000000400200 00000200 | |
000000000000001c 0000000000000000 A 0 0 1 | |
[ 2] .note.ABI-tag NOTE 000000000040021c 0000021c | |
0000000000000020 0000000000000000 A 0 0 4 | |
[ 3] .note.gnu.build-i NOTE 000000000040023c 0000023c | |
0000000000000024 0000000000000000 A 0 0 4 | |
[ 4] .gnu.hash GNU_HASH 0000000000400260 00000260 | |
000000000000001c 0000000000000000 A 5 0 8 | |
[ 5] .dynsym DYNSYM 0000000000400280 00000280 | |
0000000000000078 0000000000000018 A 6 1 8 | |
[ 6] .dynstr STRTAB 00000000004002f8 000002f8 | |
0000000000000045 0000000000000000 A 0 0 1 | |
[ 7] .gnu.version VERSYM 000000000040033e 0000033e | |
000000000000000a 0000000000000002 A 5 0 2 | |
[ 8] .gnu.version_r VERNEED 0000000000400348 00000348 | |
0000000000000020 0000000000000000 A 6 1 8 | |
[ 9] .rela.dyn RELA 0000000000400368 00000368 | |
0000000000000018 0000000000000018 A 5 0 8 | |
[10] .rela.plt RELA 0000000000400380 00000380 | |
0000000000000048 0000000000000018 AI 5 24 8 | |
[11] .init PROGBITS 00000000004003c8 000003c8 | |
000000000000001a 0000000000000000 AX 0 0 4 | |
[12] .plt PROGBITS 00000000004003f0 000003f0 | |
0000000000000040 0000000000000010 AX 0 0 16 | |
[13] .plt.got PROGBITS 0000000000400430 00000430 | |
0000000000000008 0000000000000000 AX 0 0 8 | |
[14] .text PROGBITS 0000000000400440 00000440 | |
00000000000001e2 0000000000000000 AX 0 0 16 | |
[15] .fini PROGBITS 0000000000400624 00000624 | |
0000000000000009 0000000000000000 AX 0 0 4 | |
[16] .rodata PROGBITS 0000000000400630 00000630 | |
0000000000000004 0000000000000004 AM 0 0 4 | |
[17] .eh_frame_hdr PROGBITS 0000000000400634 00000634 | |
000000000000002c 0000000000000000 A 0 0 4 | |
[18] .eh_frame PROGBITS 0000000000400660 00000660 | |
00000000000000d4 0000000000000000 A 0 0 8 | |
[19] .init_array INIT_ARRAY 0000000000600738 00000738 | |
0000000000000008 0000000000000000 WA 0 0 8 | |
[20] .fini_array FINI_ARRAY 0000000000600740 00000740 | |
0000000000000008 0000000000000000 WA 0 0 8 | |
[21] .jcr PROGBITS 0000000000600748 00000748 | |
0000000000000008 0000000000000000 WA 0 0 8 | |
[22] .dynamic DYNAMIC 0000000000600750 00000750 | |
00000000000001d0 0000000000000010 WA 6 0 8 | |
[23] .got PROGBITS 0000000000600920 00000920 | |
0000000000000008 0000000000000008 WA 0 0 8 | |
[24] .got.plt PROGBITS 0000000000600928 00000928 | |
0000000000000030 0000000000000008 WA 0 0 8 | |
[25] .data PROGBITS 0000000000600958 00000958 | |
0000000000000028 0000000000000000 WA 0 0 8 | |
[26] .bss NOBITS 0000000000600980 00000980 | |
0000000000000008 0000000000000000 WA 0 0 1 | |
[27] .comment PROGBITS 0000000000000000 00000980 | |
0000000000000011 0000000000000001 MS 0 0 1 | |
[28] .shstrtab STRTAB 0000000000000000 00001322 | |
000000000000010c 0000000000000000 0 0 1 | |
[29] .symtab SYMTAB 0000000000000000 00000998 | |
0000000000000720 0000000000000018 30 55 8 | |
[30] .strtab STRTAB 0000000000000000 000010b8 | |
000000000000026a 0000000000000000 0 0 1 | |
Key to Flags: | |
W (write), A (alloc), X (execute), M (merge), S (strings), l (large) | |
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown) | |
O (extra OS processing required) o (OS specific), p (processor specific) | |
There are no section groups in this file. | |
Program Headers: | |
Type Offset VirtAddr PhysAddr | |
FileSiz MemSiz Flags Align | |
PHDR 0x0000000000000040 0x0000000000400040 0x0000000000400040 | |
0x00000000000001c0 0x00000000000001c0 R E 8 | |
INTERP 0x0000000000000200 0x0000000000400200 0x0000000000400200 | |
0x000000000000001c 0x000000000000001c R 1 | |
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2] | |
LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 | |
0x0000000000000734 0x0000000000000734 R E 200000 | |
LOAD 0x0000000000000738 0x0000000000600738 0x0000000000600738 | |
0x0000000000000248 0x0000000000000250 RW 200000 | |
DYNAMIC 0x0000000000000750 0x0000000000600750 0x0000000000600750 | |
0x00000000000001d0 0x00000000000001d0 RW 8 | |
NOTE 0x000000000000021c 0x000000000040021c 0x000000000040021c | |
0x0000000000000044 0x0000000000000044 R 4 | |
GNU_EH_FRAME 0x0000000000000634 0x0000000000400634 0x0000000000400634 | |
0x000000000000002c 0x000000000000002c R 4 | |
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 | |
0x0000000000000000 0x0000000000000000 RWE 10 | |
Section to Segment mapping: | |
Segment Sections... | |
00 | |
01 .interp | |
02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .plt.got .text .fini .rodata .eh_frame_hdr .eh_frame | |
03 .init_array .fini_array .jcr .dynamic .got .got.plt .data .bss | |
04 .dynamic | |
05 .note.ABI-tag .note.gnu.build-id | |
06 .eh_frame_hdr | |
07 | |
Dynamic section at offset 0x750 contains 24 entries: | |
Tag Type Name/Value | |
0x0000000000000001 (NEEDED) Shared library: [libc.so.6] | |
0x000000000000000c (INIT) 0x4003c8 | |
0x000000000000000d (FINI) 0x400624 | |
0x0000000000000019 (INIT_ARRAY) 0x600738 | |
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes) | |
0x000000000000001a (FINI_ARRAY) 0x600740 | |
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes) | |
0x000000006ffffef5 (GNU_HASH) 0x400260 | |
0x0000000000000005 (STRTAB) 0x4002f8 | |
0x0000000000000006 (SYMTAB) 0x400280 | |
0x000000000000000a (STRSZ) 69 (bytes) | |
0x000000000000000b (SYMENT) 24 (bytes) | |
0x0000000000000015 (DEBUG) 0x0 | |
0x0000000000000003 (PLTGOT) 0x600928 | |
0x0000000000000002 (PLTRELSZ) 72 (bytes) | |
0x0000000000000014 (PLTREL) RELA | |
0x0000000000000017 (JMPREL) 0x400380 | |
0x0000000000000007 (RELA) 0x400368 | |
0x0000000000000008 (RELASZ) 24 (bytes) | |
0x0000000000000009 (RELAENT) 24 (bytes) | |
0x000000006ffffffe (VERNEED) 0x400348 | |
0x000000006fffffff (VERNEEDNUM) 1 | |
0x000000006ffffff0 (VERSYM) 0x40033e | |
0x0000000000000000 (NULL) 0x0 | |
Relocation section '.rela.dyn' at offset 0x368 contains 1 entries: | |
Offset Info Type Sym. Value Sym. Name + Addend | |
000000600920 000300000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0 | |
Relocation section '.rela.plt' at offset 0x380 contains 3 entries: | |
Offset Info Type Sym. Value Sym. Name + Addend | |
000000600940 000100000007 R_X86_64_JUMP_SLO 0000000000000000 printf@GLIBC_2.2.5 + 0 | |
000000600948 000200000007 R_X86_64_JUMP_SLO 0000000000000000 __libc_start_main@GLIBC_2.2.5 + 0 | |
000000600950 000400000007 R_X86_64_JUMP_SLO 0000000000000000 scanf@GLIBC_2.2.5 + 0 | |
The decoding of unwind sections for machine type Advanced Micro Devices X86-64 is not currently supported. | |
Symbol table '.dynsym' contains 5 entries: | |
Num: Value Size Type Bind Vis Ndx Name | |
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND | |
1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.2.5 (2) | |
2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.2.5 (2) | |
3: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ | |
4: 0000000000000000 0 FUNC GLOBAL DEFAULT UND scanf@GLIBC_2.2.5 (2) | |
Symbol table '.symtab' contains 76 entries: | |
Num: Value Size Type Bind Vis Ndx Name | |
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND | |
1: 0000000000400200 0 SECTION LOCAL DEFAULT 1 | |
2: 000000000040021c 0 SECTION LOCAL DEFAULT 2 | |
3: 000000000040023c 0 SECTION LOCAL DEFAULT 3 | |
4: 0000000000400260 0 SECTION LOCAL DEFAULT 4 | |
5: 0000000000400280 0 SECTION LOCAL DEFAULT 5 | |
6: 00000000004002f8 0 SECTION LOCAL DEFAULT 6 | |
7: 000000000040033e 0 SECTION LOCAL DEFAULT 7 | |
8: 0000000000400348 0 SECTION LOCAL DEFAULT 8 | |
9: 0000000000400368 0 SECTION LOCAL DEFAULT 9 | |
10: 0000000000400380 0 SECTION LOCAL DEFAULT 10 | |
11: 00000000004003c8 0 SECTION LOCAL DEFAULT 11 | |
12: 00000000004003f0 0 SECTION LOCAL DEFAULT 12 | |
13: 0000000000400430 0 SECTION LOCAL DEFAULT 13 | |
14: 0000000000400440 0 SECTION LOCAL DEFAULT 14 | |
15: 0000000000400624 0 SECTION LOCAL DEFAULT 15 | |
16: 0000000000400630 0 SECTION LOCAL DEFAULT 16 | |
17: 0000000000400634 0 SECTION LOCAL DEFAULT 17 | |
18: 0000000000400660 0 SECTION LOCAL DEFAULT 18 | |
19: 0000000000600738 0 SECTION LOCAL DEFAULT 19 | |
20: 0000000000600740 0 SECTION LOCAL DEFAULT 20 | |
21: 0000000000600748 0 SECTION LOCAL DEFAULT 21 | |
22: 0000000000600750 0 SECTION LOCAL DEFAULT 22 | |
23: 0000000000600920 0 SECTION LOCAL DEFAULT 23 | |
24: 0000000000600928 0 SECTION LOCAL DEFAULT 24 | |
25: 0000000000600958 0 SECTION LOCAL DEFAULT 25 | |
26: 0000000000600980 0 SECTION LOCAL DEFAULT 26 | |
27: 0000000000000000 0 SECTION LOCAL DEFAULT 27 | |
28: 0000000000000000 0 FILE LOCAL DEFAULT ABS init.c | |
29: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c | |
30: 0000000000600748 0 OBJECT LOCAL DEFAULT 21 __JCR_LIST__ | |
31: 0000000000400470 0 FUNC LOCAL DEFAULT 14 deregister_tm_clones | |
32: 00000000004004b0 0 FUNC LOCAL DEFAULT 14 register_tm_clones | |
33: 00000000004004f0 0 FUNC LOCAL DEFAULT 14 __do_global_dtors_aux | |
34: 0000000000600980 1 OBJECT LOCAL DEFAULT 26 completed.6945 | |
35: 0000000000600740 0 OBJECT LOCAL DEFAULT 20 __do_global_dtors_aux_fin | |
36: 0000000000400510 0 FUNC LOCAL DEFAULT 14 frame_dummy | |
37: 0000000000600738 0 OBJECT LOCAL DEFAULT 19 __frame_dummy_init_array_ | |
38: 0000000000000000 0 FILE LOCAL DEFAULT ABS sumOfFirstN.o | |
39: 0000000000600968 0 NOTYPE LOCAL DEFAULT 25 sum | |
40: 000000000060096c 0 NOTYPE LOCAL DEFAULT 25 n | |
41: 0000000000600970 0 NOTYPE LOCAL DEFAULT 25 pre_input | |
42: 0000000000600974 0 NOTYPE LOCAL DEFAULT 25 input_format | |
43: 0000000000600976 0 NOTYPE LOCAL DEFAULT 25 output_format | |
44: 0000000000400574 0 NOTYPE LOCAL DEFAULT 14 loop | |
45: 000000000040057f 0 NOTYPE LOCAL DEFAULT 14 print | |
46: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c | |
47: 0000000000400730 0 OBJECT LOCAL DEFAULT 18 __FRAME_END__ | |
48: 0000000000600748 0 OBJECT LOCAL DEFAULT 21 __JCR_END__ | |
49: 0000000000000000 0 FILE LOCAL DEFAULT ABS | |
50: 0000000000600740 0 NOTYPE LOCAL DEFAULT 19 __init_array_end | |
51: 0000000000600750 0 OBJECT LOCAL DEFAULT 22 _DYNAMIC | |
52: 0000000000600738 0 NOTYPE LOCAL DEFAULT 19 __init_array_start | |
53: 0000000000400634 0 NOTYPE LOCAL DEFAULT 17 __GNU_EH_FRAME_HDR | |
54: 0000000000600928 0 OBJECT LOCAL DEFAULT 24 _GLOBAL_OFFSET_TABLE_ | |
55: 0000000000400620 2 FUNC GLOBAL DEFAULT 14 __libc_csu_fini | |
56: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterTMCloneTab | |
57: 0000000000600958 0 NOTYPE WEAK DEFAULT 25 data_start | |
58: 0000000000600980 0 NOTYPE GLOBAL DEFAULT 25 _edata | |
59: 0000000000400624 0 FUNC GLOBAL DEFAULT 15 _fini | |
60: 0000000000000000 0 FUNC GLOBAL DEFAULT UND printf@@GLIBC_2.2.5 | |
61: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_ | |
62: 0000000000600958 0 NOTYPE GLOBAL DEFAULT 25 __data_start | |
63: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ | |
64: 0000000000600960 0 OBJECT GLOBAL HIDDEN 25 __dso_handle | |
65: 0000000000400630 4 OBJECT GLOBAL DEFAULT 16 _IO_stdin_used | |
66: 00000000004005b0 101 FUNC GLOBAL DEFAULT 14 __libc_csu_init | |
67: 0000000000600988 0 NOTYPE GLOBAL DEFAULT 26 _end | |
68: 0000000000400440 42 FUNC GLOBAL DEFAULT 14 _start | |
69: 0000000000600980 0 NOTYPE GLOBAL DEFAULT 26 __bss_start | |
70: 0000000000400536 0 NOTYPE GLOBAL DEFAULT 14 main | |
71: 0000000000000000 0 FUNC GLOBAL DEFAULT UND scanf@@GLIBC_2.2.5 | |
72: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses | |
73: 0000000000600980 0 OBJECT GLOBAL HIDDEN 25 __TMC_END__ | |
74: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMCloneTable | |
75: 00000000004003c8 0 FUNC GLOBAL DEFAULT 11 _init | |
Version symbols section '.gnu.version' contains 5 entries: | |
Addr: 000000000040033e Offset: 0x00033e Link: 5 (.dynsym) | |
000: 0 (*local*) 2 (GLIBC_2.2.5) 2 (GLIBC_2.2.5) 0 (*local*) | |
004: 2 (GLIBC_2.2.5) | |
Version needs section '.gnu.version_r' contains 1 entries: | |
Addr: 0x0000000000400348 Offset: 0x000348 Link: 6 (.dynstr) | |
000000: Version: 1 File: libc.so.6 Cnt: 1 | |
0x0010: Name: GLIBC_2.2.5 Flags: none Version: 2 | |
Displaying notes found at file offset 0x0000021c with length 0x00000020: | |
Owner Data size Description | |
GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag) | |
OS: Linux, ABI: 2.6.32 | |
Displaying notes found at file offset 0x0000023c with length 0x00000024: | |
Owner Data size Description | |
GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) | |
Build ID: fd573ab36ef30f2f20254d164226ef8d8dd7019d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment