initial commit
This commit is contained in:
280
CTF/Compiled/readelf.output
Normal file
280
CTF/Compiled/readelf.output
Normal file
@@ -0,0 +1,280 @@
|
||||
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: DYN (Position-Independent Executable file)
|
||||
Machine: Advanced Micro Devices X86-64
|
||||
Version: 0x1
|
||||
Entry point address: 0x1080
|
||||
Start of program headers: 64 (bytes into file)
|
||||
Start of section headers: 14168 (bytes into file)
|
||||
Flags: 0x0
|
||||
Size of this header: 64 (bytes)
|
||||
Size of program headers: 56 (bytes)
|
||||
Number of program headers: 13
|
||||
Size of section headers: 64 (bytes)
|
||||
Number of section headers: 31
|
||||
Section header string table index: 30
|
||||
|
||||
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 0000000000000318 00000318
|
||||
000000000000001c 0000000000000000 A 0 0 1
|
||||
[ 2] .note.gnu.pr[...] NOTE 0000000000000338 00000338
|
||||
0000000000000020 0000000000000000 A 0 0 8
|
||||
[ 3] .note.gnu.bu[...] NOTE 0000000000000358 00000358
|
||||
0000000000000024 0000000000000000 A 0 0 4
|
||||
[ 4] .note.ABI-tag NOTE 000000000000037c 0000037c
|
||||
0000000000000020 0000000000000000 A 0 0 4
|
||||
[ 5] .gnu.hash GNU_HASH 00000000000003a0 000003a0
|
||||
0000000000000028 0000000000000000 A 6 0 8
|
||||
[ 6] .dynsym DYNSYM 00000000000003c8 000003c8
|
||||
0000000000000108 0000000000000018 A 7 1 8
|
||||
[ 7] .dynstr STRTAB 00000000000004d0 000004d0
|
||||
00000000000000bd 0000000000000000 A 0 0 1
|
||||
[ 8] .gnu.version VERSYM 000000000000058e 0000058e
|
||||
0000000000000016 0000000000000002 A 6 0 2
|
||||
[ 9] .gnu.version_r VERNEED 00000000000005a8 000005a8
|
||||
0000000000000040 0000000000000000 A 7 1 8
|
||||
[10] .rela.dyn RELA 00000000000005e8 000005e8
|
||||
00000000000000d8 0000000000000018 A 6 0 8
|
||||
[11] .rela.plt RELA 00000000000006c0 000006c0
|
||||
0000000000000060 0000000000000018 AI 6 24 8
|
||||
[12] .init PROGBITS 0000000000001000 00001000
|
||||
0000000000000017 0000000000000000 AX 0 0 4
|
||||
[13] .plt PROGBITS 0000000000001020 00001020
|
||||
0000000000000050 0000000000000010 AX 0 0 16
|
||||
[14] .plt.got PROGBITS 0000000000001070 00001070
|
||||
0000000000000008 0000000000000008 AX 0 0 8
|
||||
[15] .text PROGBITS 0000000000001080 00001080
|
||||
00000000000001e6 0000000000000000 AX 0 0 16
|
||||
[16] .fini PROGBITS 0000000000001268 00001268
|
||||
0000000000000009 0000000000000000 AX 0 0 4
|
||||
[17] .rodata PROGBITS 0000000000002000 00002000
|
||||
0000000000000045 0000000000000000 A 0 0 4
|
||||
[18] .eh_frame_hdr PROGBITS 0000000000002048 00002048
|
||||
000000000000002c 0000000000000000 A 0 0 4
|
||||
[19] .eh_frame PROGBITS 0000000000002078 00002078
|
||||
00000000000000ac 0000000000000000 A 0 0 8
|
||||
[20] .init_array INIT_ARRAY 0000000000003dd0 00002dd0
|
||||
0000000000000008 0000000000000008 WA 0 0 8
|
||||
[21] .fini_array FINI_ARRAY 0000000000003dd8 00002dd8
|
||||
0000000000000008 0000000000000008 WA 0 0 8
|
||||
[22] .dynamic DYNAMIC 0000000000003de0 00002de0
|
||||
00000000000001e0 0000000000000010 WA 7 0 8
|
||||
[23] .got PROGBITS 0000000000003fc0 00002fc0
|
||||
0000000000000028 0000000000000008 WA 0 0 8
|
||||
[24] .got.plt PROGBITS 0000000000003fe8 00002fe8
|
||||
0000000000000038 0000000000000008 WA 0 0 8
|
||||
[25] .data PROGBITS 0000000000004020 00003020
|
||||
0000000000000010 0000000000000000 WA 0 0 8
|
||||
[26] .bss NOBITS 0000000000004030 00003030
|
||||
0000000000000010 0000000000000000 WA 0 0 8
|
||||
[27] .comment PROGBITS 0000000000000000 00003030
|
||||
000000000000001e 0000000000000001 MS 0 0 1
|
||||
[28] .symtab SYMTAB 0000000000000000 00003050
|
||||
00000000000003c0 0000000000000018 29 18 8
|
||||
[29] .strtab STRTAB 0000000000000000 00003410
|
||||
000000000000022d 0000000000000000 0 0 1
|
||||
[30] .shstrtab STRTAB 0000000000000000 0000363d
|
||||
000000000000011a 0000000000000000 0 0 1
|
||||
Key to Flags:
|
||||
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
|
||||
L (link order), O (extra OS processing required), G (group), T (TLS),
|
||||
C (compressed), x (unknown), o (OS specific), E (exclude),
|
||||
D (mbind), l (large), p (processor specific)
|
||||
|
||||
There are no section groups in this file.
|
||||
|
||||
Program Headers:
|
||||
Type Offset VirtAddr PhysAddr
|
||||
FileSiz MemSiz Flags Align
|
||||
PHDR 0x0000000000000040 0x0000000000000040 0x0000000000000040
|
||||
0x00000000000002d8 0x00000000000002d8 R 0x8
|
||||
INTERP 0x0000000000000318 0x0000000000000318 0x0000000000000318
|
||||
0x000000000000001c 0x000000000000001c R 0x1
|
||||
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
|
||||
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x0000000000000720 0x0000000000000720 R 0x1000
|
||||
LOAD 0x0000000000001000 0x0000000000001000 0x0000000000001000
|
||||
0x0000000000000271 0x0000000000000271 R E 0x1000
|
||||
LOAD 0x0000000000002000 0x0000000000002000 0x0000000000002000
|
||||
0x0000000000000124 0x0000000000000124 R 0x1000
|
||||
LOAD 0x0000000000002dd0 0x0000000000003dd0 0x0000000000003dd0
|
||||
0x0000000000000260 0x0000000000000270 RW 0x1000
|
||||
DYNAMIC 0x0000000000002de0 0x0000000000003de0 0x0000000000003de0
|
||||
0x00000000000001e0 0x00000000000001e0 RW 0x8
|
||||
NOTE 0x0000000000000338 0x0000000000000338 0x0000000000000338
|
||||
0x0000000000000020 0x0000000000000020 R 0x8
|
||||
NOTE 0x0000000000000358 0x0000000000000358 0x0000000000000358
|
||||
0x0000000000000044 0x0000000000000044 R 0x4
|
||||
GNU_PROPERTY 0x0000000000000338 0x0000000000000338 0x0000000000000338
|
||||
0x0000000000000020 0x0000000000000020 R 0x8
|
||||
GNU_EH_FRAME 0x0000000000002048 0x0000000000002048 0x0000000000002048
|
||||
0x000000000000002c 0x000000000000002c R 0x4
|
||||
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x0000000000000000 0x0000000000000000 RW 0x10
|
||||
GNU_RELRO 0x0000000000002dd0 0x0000000000003dd0 0x0000000000003dd0
|
||||
0x0000000000000230 0x0000000000000230 R 0x1
|
||||
|
||||
Section to Segment mapping:
|
||||
Segment Sections...
|
||||
00
|
||||
01 .interp
|
||||
02 .interp .note.gnu.property .note.gnu.build-id .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt
|
||||
03 .init .plt .plt.got .text .fini
|
||||
04 .rodata .eh_frame_hdr .eh_frame
|
||||
05 .init_array .fini_array .dynamic .got .got.plt .data .bss
|
||||
06 .dynamic
|
||||
07 .note.gnu.property
|
||||
08 .note.gnu.build-id .note.ABI-tag
|
||||
09 .note.gnu.property
|
||||
10 .eh_frame_hdr
|
||||
11
|
||||
12 .init_array .fini_array .dynamic .got
|
||||
|
||||
Dynamic section at offset 0x2de0 contains 26 entries:
|
||||
Tag Type Name/Value
|
||||
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
|
||||
0x000000000000000c (INIT) 0x1000
|
||||
0x000000000000000d (FINI) 0x1268
|
||||
0x0000000000000019 (INIT_ARRAY) 0x3dd0
|
||||
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
|
||||
0x000000000000001a (FINI_ARRAY) 0x3dd8
|
||||
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
|
||||
0x000000006ffffef5 (GNU_HASH) 0x3a0
|
||||
0x0000000000000005 (STRTAB) 0x4d0
|
||||
0x0000000000000006 (SYMTAB) 0x3c8
|
||||
0x000000000000000a (STRSZ) 189 (bytes)
|
||||
0x000000000000000b (SYMENT) 24 (bytes)
|
||||
0x0000000000000015 (DEBUG) 0x0
|
||||
0x0000000000000003 (PLTGOT) 0x3fe8
|
||||
0x0000000000000002 (PLTRELSZ) 96 (bytes)
|
||||
0x0000000000000014 (PLTREL) RELA
|
||||
0x0000000000000017 (JMPREL) 0x6c0
|
||||
0x0000000000000007 (RELA) 0x5e8
|
||||
0x0000000000000008 (RELASZ) 216 (bytes)
|
||||
0x0000000000000009 (RELAENT) 24 (bytes)
|
||||
0x000000006ffffffb (FLAGS_1) Flags: PIE
|
||||
0x000000006ffffffe (VERNEED) 0x5a8
|
||||
0x000000006fffffff (VERNEEDNUM) 1
|
||||
0x000000006ffffff0 (VERSYM) 0x58e
|
||||
0x000000006ffffff9 (RELACOUNT) 3
|
||||
0x0000000000000000 (NULL) 0x0
|
||||
|
||||
Relocation section '.rela.dyn' at offset 0x5e8 contains 9 entries:
|
||||
Offset Info Type Sym. Value Sym. Name + Addend
|
||||
000000003dd0 000000000008 R_X86_64_RELATIVE 1160
|
||||
000000003dd8 000000000008 R_X86_64_RELATIVE 1120
|
||||
000000004028 000000000008 R_X86_64_RELATIVE 4028
|
||||
000000003fc0 000100000006 R_X86_64_GLOB_DAT 0000000000000000 __libc_start_main@GLIBC_2.34 + 0
|
||||
000000003fc8 000200000006 R_X86_64_GLOB_DAT 0000000000000000 _ITM_deregisterTM[...] + 0
|
||||
000000003fd0 000500000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0
|
||||
000000003fd8 000800000006 R_X86_64_GLOB_DAT 0000000000000000 _ITM_registerTMCl[...] + 0
|
||||
000000003fe0 000a00000006 R_X86_64_GLOB_DAT 0000000000000000 __cxa_finalize@GLIBC_2.2.5 + 0
|
||||
000000004030 000900000005 R_X86_64_COPY 0000000000004030 stdout@GLIBC_2.2.5 + 0
|
||||
|
||||
Relocation section '.rela.plt' at offset 0x6c0 contains 4 entries:
|
||||
Offset Info Type Sym. Value Sym. Name + Addend
|
||||
000000004000 000300000007 R_X86_64_JUMP_SLO 0000000000000000 printf@GLIBC_2.2.5 + 0
|
||||
000000004008 000400000007 R_X86_64_JUMP_SLO 0000000000000000 strcmp@GLIBC_2.2.5 + 0
|
||||
000000004010 000600000007 R_X86_64_JUMP_SLO 0000000000000000 __isoc99_scanf@GLIBC_2.7 + 0
|
||||
000000004018 000700000007 R_X86_64_JUMP_SLO 0000000000000000 fwrite@GLIBC_2.2.5 + 0
|
||||
No processor specific unwind information to decode
|
||||
|
||||
Symbol table '.dynsym' contains 11 entries:
|
||||
Num: Value Size Type Bind Vis Ndx Name
|
||||
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
|
||||
1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _[...]@GLIBC_2.34 (2)
|
||||
2: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterT[...]
|
||||
3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND [...]@GLIBC_2.2.5 (3)
|
||||
4: 0000000000000000 0 FUNC GLOBAL DEFAULT UND [...]@GLIBC_2.2.5 (3)
|
||||
5: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
|
||||
6: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __[...]@GLIBC_2.7 (4)
|
||||
7: 0000000000000000 0 FUNC GLOBAL DEFAULT UND [...]@GLIBC_2.2.5 (3)
|
||||
8: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMC[...]
|
||||
9: 0000000000004030 8 OBJECT GLOBAL DEFAULT 26 [...]@GLIBC_2.2.5 (3)
|
||||
10: 0000000000000000 0 FUNC WEAK DEFAULT UND [...]@GLIBC_2.2.5 (3)
|
||||
|
||||
Symbol table '.symtab' contains 40 entries:
|
||||
Num: Value Size Type Bind Vis Ndx Name
|
||||
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
|
||||
1: 0000000000000000 0 FILE LOCAL DEFAULT ABS Scrt1.o
|
||||
2: 000000000000037c 32 OBJECT LOCAL DEFAULT 4 __abi_tag
|
||||
3: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
|
||||
4: 00000000000010b0 0 FUNC LOCAL DEFAULT 15 deregister_tm_clones
|
||||
5: 00000000000010e0 0 FUNC LOCAL DEFAULT 15 register_tm_clones
|
||||
6: 0000000000001120 0 FUNC LOCAL DEFAULT 15 __do_global_dtors_aux
|
||||
7: 0000000000004038 1 OBJECT LOCAL DEFAULT 26 completed.0
|
||||
8: 0000000000003dd8 0 OBJECT LOCAL DEFAULT 21 __do_global_dtor[...]
|
||||
9: 0000000000001160 0 FUNC LOCAL DEFAULT 15 frame_dummy
|
||||
10: 0000000000003dd0 0 OBJECT LOCAL DEFAULT 20 __frame_dummy_in[...]
|
||||
11: 0000000000000000 0 FILE LOCAL DEFAULT ABS zzz.c
|
||||
12: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
|
||||
13: 0000000000002120 0 OBJECT LOCAL DEFAULT 19 __FRAME_END__
|
||||
14: 0000000000000000 0 FILE LOCAL DEFAULT ABS
|
||||
15: 0000000000003de0 0 OBJECT LOCAL DEFAULT 22 _DYNAMIC
|
||||
16: 0000000000002048 0 NOTYPE LOCAL DEFAULT 18 __GNU_EH_FRAME_HDR
|
||||
17: 0000000000003fe8 0 OBJECT LOCAL DEFAULT 24 _GLOBAL_OFFSET_TABLE_
|
||||
18: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_mai[...]
|
||||
19: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterT[...]
|
||||
20: 0000000000004030 8 OBJECT GLOBAL DEFAULT 26 stdout@GLIBC_2.2.5
|
||||
21: 0000000000004020 0 NOTYPE WEAK DEFAULT 25 data_start
|
||||
22: 0000000000004030 0 NOTYPE GLOBAL DEFAULT 25 _edata
|
||||
23: 0000000000001268 0 FUNC GLOBAL HIDDEN 16 _fini
|
||||
24: 0000000000000000 0 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.2.5
|
||||
25: 0000000000004020 0 NOTYPE GLOBAL DEFAULT 25 __data_start
|
||||
26: 0000000000000000 0 FUNC GLOBAL DEFAULT UND strcmp@GLIBC_2.2.5
|
||||
27: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
|
||||
28: 0000000000004028 0 OBJECT GLOBAL HIDDEN 25 __dso_handle
|
||||
29: 0000000000002000 4 OBJECT GLOBAL DEFAULT 17 _IO_stdin_used
|
||||
30: 0000000000004040 0 NOTYPE GLOBAL DEFAULT 26 _end
|
||||
31: 0000000000001080 34 FUNC GLOBAL DEFAULT 15 _start
|
||||
32: 0000000000004030 0 NOTYPE GLOBAL DEFAULT 26 __bss_start
|
||||
33: 0000000000001169 253 FUNC GLOBAL DEFAULT 15 main
|
||||
34: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __isoc99_scanf@G[...]
|
||||
35: 0000000000000000 0 FUNC GLOBAL DEFAULT UND fwrite@GLIBC_2.2.5
|
||||
36: 0000000000004030 0 OBJECT GLOBAL HIDDEN 25 __TMC_END__
|
||||
37: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMC[...]
|
||||
38: 0000000000000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@G[...]
|
||||
39: 0000000000001000 0 FUNC GLOBAL HIDDEN 12 _init
|
||||
|
||||
Histogram for `.gnu.hash' bucket list length (total of 2 buckets):
|
||||
Length Number % of total Coverage
|
||||
0 1 ( 50.0%)
|
||||
1 0 ( 0.0%) 0.0%
|
||||
2 1 ( 50.0%) 100.0%
|
||||
|
||||
Version symbols section '.gnu.version' contains 11 entries:
|
||||
Addr: 0x000000000000058e Offset: 0x0000058e Link: 6 (.dynsym)
|
||||
000: 0 (*local*) 2 (GLIBC_2.34) 1 (*global*) 3 (GLIBC_2.2.5)
|
||||
004: 3 (GLIBC_2.2.5) 1 (*global*) 4 (GLIBC_2.7) 3 (GLIBC_2.2.5)
|
||||
008: 1 (*global*) 3 (GLIBC_2.2.5) 3 (GLIBC_2.2.5)
|
||||
|
||||
Version needs section '.gnu.version_r' contains 1 entry:
|
||||
Addr: 0x00000000000005a8 Offset: 0x000005a8 Link: 7 (.dynstr)
|
||||
000000: Version: 1 File: libc.so.6 Cnt: 3
|
||||
0x0010: Name: GLIBC_2.7 Flags: none Version: 4
|
||||
0x0020: Name: GLIBC_2.2.5 Flags: none Version: 3
|
||||
0x0030: Name: GLIBC_2.34 Flags: none Version: 2
|
||||
|
||||
Displaying notes found in: .note.gnu.property
|
||||
Owner Data size Description
|
||||
GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0
|
||||
Properties: x86 ISA needed: x86-64-baseline
|
||||
|
||||
Displaying notes found in: .note.gnu.build-id
|
||||
Owner Data size Description
|
||||
GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring)
|
||||
Build ID: 06dcfaf13fb76a4b556852c5fbf9725ac21054fd
|
||||
|
||||
Displaying notes found in: .note.ABI-tag
|
||||
Owner Data size Description
|
||||
GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
|
||||
OS: Linux, ABI: 3.2.0
|
||||
Reference in New Issue
Block a user