-
Notifications
You must be signed in to change notification settings - Fork 0
/
out
214 lines (199 loc) · 11.5 KB
/
out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
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: Intel 80386
Version: 0x1
Entry point address: 0x8048310
Start of program headers: 52 (bytes into file)
Start of section headers: 4464 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 8
Size of section headers: 40 (bytes)
Number of section headers: 29
Section header string table index: 26
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .interp PROGBITS 08048134 000134 000013 00 A 0 0 1
[ 2] .note.ABI-tag NOTE 08048148 000148 000020 00 A 0 0 4
[ 3] .note.gnu.build-i NOTE 08048168 000168 000024 00 A 0 0 4
[ 4] .gnu.hash GNU_HASH 0804818c 00018c 000020 04 A 5 0 4
[ 5] .dynsym DYNSYM 080481ac 0001ac 000050 10 A 6 1 4
[ 6] .dynstr STRTAB 080481fc 0001fc 00004b 00 A 0 0 1
[ 7] .gnu.version VERSYM 08048248 000248 00000a 02 A 5 0 2
[ 8] .gnu.version_r VERNEED 08048254 000254 000020 00 A 6 1 4
[ 9] .rel.dyn REL 08048274 000274 000008 08 A 5 0 4
[10] .rel.plt REL 0804827c 00027c 000018 08 A 5 12 4
[11] .init PROGBITS 08048294 000294 000030 00 AX 0 0 4
[12] .plt PROGBITS 080482c4 0002c4 000040 04 AX 0 0 4
[13] .text PROGBITS 08048310 000310 0001ac 00 AX 0 0 16
[14] .fini PROGBITS 080484bc 0004bc 00001c 00 AX 0 0 4
[15] .rodata PROGBITS 080484d8 0004d8 000010 00 A 0 0 4
[16] .eh_frame PROGBITS 080484e8 0004e8 000004 00 A 0 0 4
[17] .ctors PROGBITS 08049f14 000f14 000008 00 WA 0 0 4
[18] .dtors PROGBITS 08049f1c 000f1c 000008 00 WA 0 0 4
[19] .jcr PROGBITS 08049f24 000f24 000004 00 WA 0 0 4
[20] .dynamic DYNAMIC 08049f28 000f28 0000c8 08 WA 6 0 4
[21] .got PROGBITS 08049ff0 000ff0 000004 04 WA 0 0 4
[22] .got.plt PROGBITS 08049ff4 000ff4 000018 04 WA 0 0 4
[23] .data PROGBITS 0804a00c 00100c 000008 00 WA 0 0 4
[24] .bss NOBITS 0804a014 001014 000008 00 WA 0 0 4
[25] .comment PROGBITS 00000000 001014 00006c 01 MS 0 0 1
[26] .shstrtab STRTAB 00000000 001080 0000ee 00 0 0 1
[27] .symtab SYMTAB 00000000 0015f8 000400 10 28 44 4
[28] .strtab STRTAB 00000000 0019f8 0001fd 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
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 Flg Align
PHDR 0x000034 0x08048034 0x08048034 0x00100 0x00100 R E 0x4
INTERP 0x000134 0x08048134 0x08048134 0x00013 0x00013 R 0x1
[Requesting program interpreter: /lib/ld-linux.so.2]
LOAD 0x000000 0x08048000 0x08048000 0x004ec 0x004ec R E 0x1000
LOAD 0x000f14 0x08049f14 0x08049f14 0x00100 0x00108 RW 0x1000
DYNAMIC 0x000f28 0x08049f28 0x08049f28 0x000c8 0x000c8 RW 0x4
NOTE 0x000148 0x08048148 0x08048148 0x00044 0x00044 R 0x4
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
GNU_RELRO 0x000f14 0x08049f14 0x08049f14 0x000ec 0x000ec R 0x1
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 .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame
03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
04 .dynamic
05 .note.ABI-tag .note.gnu.build-id
06
07 .ctors .dtors .jcr .dynamic .got
Dynamic section at offset 0xf28 contains 20 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000c (INIT) 0x8048294
0x0000000d (FINI) 0x80484bc
0x6ffffef5 (GNU_HASH) 0x804818c
0x00000005 (STRTAB) 0x80481fc
0x00000006 (SYMTAB) 0x80481ac
0x0000000a (STRSZ) 75 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x8049ff4
0x00000002 (PLTRELSZ) 24 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x804827c
0x00000011 (REL) 0x8048274
0x00000012 (RELSZ) 8 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0x8048254
0x6fffffff (VERNEEDNUM) 1
0x6ffffff0 (VERSYM) 0x8048248
0x00000000 (NULL) 0x0
Relocation section '.rel.dyn' at offset 0x274 contains 1 entries:
Offset Info Type Sym.Value Sym. Name
08049ff0 00000106 R_386_GLOB_DAT 00000000 __gmon_start__
Relocation section '.rel.plt' at offset 0x27c contains 3 entries:
Offset Info Type Sym.Value Sym. Name
0804a000 00000107 R_386_JUMP_SLOT 00000000 __gmon_start__
0804a004 00000207 R_386_JUMP_SLOT 00000000 __libc_start_main
0804a008 00000307 R_386_JUMP_SLOT 00000000 sleep
There are no unwind sections in this file.
Symbol table '.dynsym' contains 5 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
2: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.0 (2)
3: 00000000 0 FUNC GLOBAL DEFAULT UND sleep@GLIBC_2.0 (2)
4: 080484dc 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used
Symbol table '.symtab' contains 64 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 08048134 0 SECTION LOCAL DEFAULT 1
2: 08048148 0 SECTION LOCAL DEFAULT 2
3: 08048168 0 SECTION LOCAL DEFAULT 3
4: 0804818c 0 SECTION LOCAL DEFAULT 4
5: 080481ac 0 SECTION LOCAL DEFAULT 5
6: 080481fc 0 SECTION LOCAL DEFAULT 6
7: 08048248 0 SECTION LOCAL DEFAULT 7
8: 08048254 0 SECTION LOCAL DEFAULT 8
9: 08048274 0 SECTION LOCAL DEFAULT 9
10: 0804827c 0 SECTION LOCAL DEFAULT 10
11: 08048294 0 SECTION LOCAL DEFAULT 11
12: 080482c4 0 SECTION LOCAL DEFAULT 12
13: 08048310 0 SECTION LOCAL DEFAULT 13
14: 080484bc 0 SECTION LOCAL DEFAULT 14
15: 080484d8 0 SECTION LOCAL DEFAULT 15
16: 080484e8 0 SECTION LOCAL DEFAULT 16
17: 08049f14 0 SECTION LOCAL DEFAULT 17
18: 08049f1c 0 SECTION LOCAL DEFAULT 18
19: 08049f24 0 SECTION LOCAL DEFAULT 19
20: 08049f28 0 SECTION LOCAL DEFAULT 20
21: 08049ff0 0 SECTION LOCAL DEFAULT 21
22: 08049ff4 0 SECTION LOCAL DEFAULT 22
23: 0804a00c 0 SECTION LOCAL DEFAULT 23
24: 0804a014 0 SECTION LOCAL DEFAULT 24
25: 00000000 0 SECTION LOCAL DEFAULT 25
26: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
27: 08049f14 0 OBJECT LOCAL DEFAULT 17 __CTOR_LIST__
28: 08049f1c 0 OBJECT LOCAL DEFAULT 18 __DTOR_LIST__
29: 08049f24 0 OBJECT LOCAL DEFAULT 19 __JCR_LIST__
30: 08048340 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux
31: 0804a014 1 OBJECT LOCAL DEFAULT 24 completed.7065
32: 0804a018 4 OBJECT LOCAL DEFAULT 24 dtor_idx.7067
33: 080483a0 0 FUNC LOCAL DEFAULT 13 frame_dummy
34: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
35: 08049f18 0 OBJECT LOCAL DEFAULT 17 __CTOR_END__
36: 080484e8 0 OBJECT LOCAL DEFAULT 16 __FRAME_END__
37: 08049f24 0 OBJECT LOCAL DEFAULT 19 __JCR_END__
38: 08048490 0 FUNC LOCAL DEFAULT 13 __do_global_ctors_aux
39: 00000000 0 FILE LOCAL DEFAULT ABS string.c
40: 08049ff4 0 OBJECT LOCAL DEFAULT 22 _GLOBAL_OFFSET_TABLE_
41: 08049f14 0 NOTYPE LOCAL DEFAULT 17 __init_array_end
42: 08049f14 0 NOTYPE LOCAL DEFAULT 17 __init_array_start
43: 08049f28 0 OBJECT LOCAL DEFAULT 20 _DYNAMIC
44: 0804a00c 0 NOTYPE WEAK DEFAULT 23 data_start
45: 08048420 5 FUNC GLOBAL DEFAULT 13 __libc_csu_fini
46: 08048310 0 FUNC GLOBAL DEFAULT 13 _start
47: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
48: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
49: 080484d8 4 OBJECT GLOBAL DEFAULT 15 _fp_hw
50: 080484bc 0 FUNC GLOBAL DEFAULT 14 _fini
51: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_
52: 080484dc 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used
53: 0804a00c 0 NOTYPE GLOBAL DEFAULT 23 __data_start
54: 0804a010 0 OBJECT GLOBAL HIDDEN 23 __dso_handle
55: 08049f20 0 OBJECT GLOBAL HIDDEN 18 __DTOR_END__
56: 08048430 90 FUNC GLOBAL DEFAULT 13 __libc_csu_init
57: 0804a014 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
58: 00000000 0 FUNC GLOBAL DEFAULT UND sleep@@GLIBC_2.0
59: 0804a01c 0 NOTYPE GLOBAL DEFAULT ABS _end
60: 0804a014 0 NOTYPE GLOBAL DEFAULT ABS _edata
61: 0804848a 0 FUNC GLOBAL HIDDEN 13 __i686.get_pc_thunk.bx
62: 080483c4 83 FUNC GLOBAL DEFAULT 13 main
63: 08048294 0 FUNC GLOBAL DEFAULT 11 _init
Histogram for `.gnu.hash' bucket list length (total of 2 buckets):
Length Number % of total Coverage
0 1 ( 50.0%)
1 1 ( 50.0%) 100.0%
Version symbols section '.gnu.version' contains 5 entries:
Addr: 0000000008048248 Offset: 0x000248 Link: 5 (.dynsym)
000: 0 (*local*) 0 (*local*) 2 (GLIBC_2.0) 2 (GLIBC_2.0)
004: 1 (*global*)
Version needs section '.gnu.version_r' contains 1 entries:
Addr: 0x0000000008048254 Offset: 0x000254 Link: 6 (.dynstr)
000000: Version: 1 File: libc.so.6 Cnt: 1
0x0010: Name: GLIBC_2.0 Flags: none Version: 2
Notes at offset 0x00000148 with length 0x00000020:
Owner Data size Description
GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
Notes at offset 0x00000168 with length 0x00000024:
Owner Data size Description
GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring)