1 |
38 |
julius |
#source: tlsbinpic.s
|
2 |
|
|
#source: tlsbin.s
|
3 |
|
|
#as: --32
|
4 |
|
|
#ld: -melf_i386 tmpdir/libtlslib.so
|
5 |
|
|
#objdump: -drj.text
|
6 |
|
|
#target: i?86-*-*
|
7 |
|
|
|
8 |
|
|
# PT_TLS layout is:
|
9 |
|
|
# Offset from Offset from Name
|
10 |
|
|
# TCB base TCB end
|
11 |
|
|
# 0x00 -0xa0 sg1..sg8
|
12 |
|
|
# 0x20 -0x80 sl1..sl8
|
13 |
|
|
# 0x40 -0x60 sh1..sh8
|
14 |
|
|
# 0x60 -0x40 bg1..bg8
|
15 |
|
|
# 0x80 -0x20 bl1..bl8
|
16 |
|
|
|
17 |
|
|
.*: +file format elf32-i386
|
18 |
|
|
|
19 |
|
|
Disassembly of section .text:
|
20 |
|
|
|
21 |
|
|
0+8049000 :
|
22 |
|
|
8049000: 55[ ]+push %ebp
|
23 |
|
|
8049001: 89 e5[ ]+mov %esp,%ebp
|
24 |
|
|
8049003: 53[ ]+push %ebx
|
25 |
|
|
8049004: 50[ ]+push %eax
|
26 |
|
|
8049005: e8 00 00 00 00[ ]+call 804900a
|
27 |
|
|
804900a: 5b[ ]+pop %ebx
|
28 |
|
|
804900b: 81 c3 1a 11 00 00[ ]+add \$0x111a,%ebx
|
29 |
|
|
8049011: 90[ ]+nop *
|
30 |
|
|
8049012: 90[ ]+nop *
|
31 |
|
|
8049013: 90[ ]+nop *
|
32 |
|
|
8049014: 90[ ]+nop *
|
33 |
|
|
# GD -> IE because variable is not defined in executable
|
34 |
|
|
8049015: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
35 |
|
|
804901b: 2b 83 f8 ff ff ff[ ]+sub -0x8\(%ebx\),%eax
|
36 |
|
|
# ->R_386_TLS_TPOFF32 sG1
|
37 |
|
|
8049021: 90[ ]+nop *
|
38 |
|
|
8049022: 90[ ]+nop *
|
39 |
|
|
8049023: 90[ ]+nop *
|
40 |
|
|
8049024: 90[ ]+nop *
|
41 |
|
|
# GD -> IE because variable is not defined in executable where
|
42 |
|
|
# the variable is referenced through @gottpoff too
|
43 |
|
|
8049025: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
44 |
|
|
804902b: 2b 83 e8 ff ff ff[ ]+sub -0x18\(%ebx\),%eax
|
45 |
|
|
# ->R_386_TLS_TPOFF32 sG2
|
46 |
|
|
8049031: 90[ ]+nop *
|
47 |
|
|
8049032: 90[ ]+nop *
|
48 |
|
|
8049033: 90[ ]+nop *
|
49 |
|
|
8049034: 90[ ]+nop *
|
50 |
|
|
# GD -> IE because variable is not defined in executable where
|
51 |
|
|
# the variable is referenced through @gotntpoff too
|
52 |
|
|
8049035: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
53 |
|
|
804903b: 03 83 dc ff ff ff[ ]+add -0x24\(%ebx\),%eax
|
54 |
|
|
# ->R_386_TLS_TPOFF sG3
|
55 |
|
|
8049041: 90[ ]+nop *
|
56 |
|
|
8049042: 90[ ]+nop *
|
57 |
|
|
8049043: 90[ ]+nop *
|
58 |
|
|
8049044: 90[ ]+nop *
|
59 |
|
|
# GD -> IE because variable is not defined in executable where
|
60 |
|
|
# the variable is referenced through @gottpoff and @gotntpoff too
|
61 |
|
|
8049045: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
62 |
|
|
804904b: 2b 83 ec ff ff ff[ ]+sub -0x14\(%ebx\),%eax
|
63 |
|
|
# ->R_386_TLS_TPOFF32 sG4
|
64 |
|
|
8049051: 90[ ]+nop *
|
65 |
|
|
8049052: 90[ ]+nop *
|
66 |
|
|
8049053: 90[ ]+nop *
|
67 |
|
|
8049054: 90[ ]+nop *
|
68 |
|
|
# GD -> LE with global variable defined in executable
|
69 |
|
|
8049055: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
70 |
|
|
804905b: 81 e8 00 10 00 00[ ]+sub \$0x1000,%eax
|
71 |
|
|
# sg1
|
72 |
|
|
8049061: 90[ ]+nop *
|
73 |
|
|
8049062: 90[ ]+nop *
|
74 |
|
|
8049063: 90[ ]+nop *
|
75 |
|
|
8049064: 90[ ]+nop *
|
76 |
|
|
# GD -> LE with local variable defined in executable
|
77 |
|
|
8049065: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
78 |
|
|
804906b: 81 e8 e0 0f 00 00[ ]+sub \$0xfe0,%eax
|
79 |
|
|
# sl1
|
80 |
|
|
8049071: 90[ ]+nop *
|
81 |
|
|
8049072: 90[ ]+nop *
|
82 |
|
|
8049073: 90[ ]+nop *
|
83 |
|
|
8049074: 90[ ]+nop *
|
84 |
|
|
# GD -> LE with hidden variable defined in executable
|
85 |
|
|
8049075: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
86 |
|
|
804907b: 81 e8 c0 0f 00 00[ ]+sub \$0xfc0,%eax
|
87 |
|
|
# sh1
|
88 |
|
|
8049081: 90[ ]+nop *
|
89 |
|
|
8049082: 90[ ]+nop *
|
90 |
|
|
8049083: 90[ ]+nop *
|
91 |
|
|
8049084: 90[ ]+nop *
|
92 |
|
|
# LD -> LE
|
93 |
|
|
8049085: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
94 |
|
|
804908b: 90[ ]+nop *
|
95 |
|
|
804908c: 8d 74 26 00[ ]+lea 0x0\(%esi,%eiz,1\),%esi
|
96 |
|
|
8049090: 90[ ]+nop *
|
97 |
|
|
8049091: 90[ ]+nop *
|
98 |
|
|
8049092: 8d 90 20 f0 ff ff[ ]+lea -0xfe0\(%eax\),%edx
|
99 |
|
|
# sl1
|
100 |
|
|
8049098: 90[ ]+nop *
|
101 |
|
|
8049099: 90[ ]+nop *
|
102 |
|
|
804909a: 8d 88 24 f0 ff ff[ ]+lea -0xfdc\(%eax\),%ecx
|
103 |
|
|
# sl2
|
104 |
|
|
80490a0: 90[ ]+nop *
|
105 |
|
|
80490a1: 90[ ]+nop *
|
106 |
|
|
80490a2: 90[ ]+nop *
|
107 |
|
|
80490a3: 90[ ]+nop *
|
108 |
|
|
# LD -> LE against hidden variables
|
109 |
|
|
80490a4: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
110 |
|
|
80490aa: 90[ ]+nop *
|
111 |
|
|
80490ab: 8d 74 26 00[ ]+lea 0x0\(%esi,%eiz,1\),%esi
|
112 |
|
|
80490af: 90[ ]+nop *
|
113 |
|
|
80490b0: 90[ ]+nop *
|
114 |
|
|
80490b1: 8d 90 40 f0 ff ff[ ]+lea -0xfc0\(%eax\),%edx
|
115 |
|
|
# sh1
|
116 |
|
|
80490b7: 90[ ]+nop *
|
117 |
|
|
80490b8: 90[ ]+nop *
|
118 |
|
|
80490b9: 8d 88 44 f0 ff ff[ ]+lea -0xfbc\(%eax\),%ecx
|
119 |
|
|
# sh2
|
120 |
|
|
80490bf: 90[ ]+nop *
|
121 |
|
|
80490c0: 90[ ]+nop *
|
122 |
|
|
80490c1: 90[ ]+nop *
|
123 |
|
|
80490c2: 90[ ]+nop *
|
124 |
|
|
# @gottpoff IE against global var
|
125 |
|
|
80490c3: 65 8b 0d 00 00 00 00[ ]+mov %gs:0x0,%ecx
|
126 |
|
|
80490ca: 90[ ]+nop *
|
127 |
|
|
80490cb: 90[ ]+nop *
|
128 |
|
|
80490cc: 2b 8b e8 ff ff ff[ ]+sub -0x18\(%ebx\),%ecx
|
129 |
|
|
# ->R_386_TLS_TPOFF32 sG2
|
130 |
|
|
80490d2: 90[ ]+nop *
|
131 |
|
|
80490d3: 90[ ]+nop *
|
132 |
|
|
80490d4: 90[ ]+nop *
|
133 |
|
|
80490d5: 90[ ]+nop *
|
134 |
|
|
# @gottpoff IE against global var
|
135 |
|
|
80490d6: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
136 |
|
|
80490dc: 90[ ]+nop *
|
137 |
|
|
80490dd: 90[ ]+nop *
|
138 |
|
|
80490de: 2b 83 ec ff ff ff[ ]+sub -0x14\(%ebx\),%eax
|
139 |
|
|
# ->R_386_TLS_TPOFF32 sG4
|
140 |
|
|
80490e4: 90[ ]+nop *
|
141 |
|
|
80490e5: 90[ ]+nop *
|
142 |
|
|
80490e6: 90[ ]+nop *
|
143 |
|
|
80490e7: 90[ ]+nop *
|
144 |
|
|
# @gotntpoff IE against global var
|
145 |
|
|
80490e8: 65 8b 0d 00 00 00 00[ ]+mov %gs:0x0,%ecx
|
146 |
|
|
80490ef: 90[ ]+nop *
|
147 |
|
|
80490f0: 90[ ]+nop *
|
148 |
|
|
80490f1: 03 8b dc ff ff ff[ ]+add -0x24\(%ebx\),%ecx
|
149 |
|
|
# ->R_386_TLS_TPOFF sG3
|
150 |
|
|
80490f7: 90[ ]+nop *
|
151 |
|
|
80490f8: 90[ ]+nop *
|
152 |
|
|
80490f9: 90[ ]+nop *
|
153 |
|
|
80490fa: 90[ ]+nop *
|
154 |
|
|
# @gotntpoff IE against global var
|
155 |
|
|
80490fb: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
156 |
|
|
8049101: 90[ ]+nop *
|
157 |
|
|
8049102: 90[ ]+nop *
|
158 |
|
|
8049103: 03 83 f0 ff ff ff[ ]+add -0x10\(%ebx\),%eax
|
159 |
|
|
# ->R_386_TLS_TPOFF sG4
|
160 |
|
|
8049109: 90[ ]+nop *
|
161 |
|
|
804910a: 90[ ]+nop *
|
162 |
|
|
804910b: 90[ ]+nop *
|
163 |
|
|
804910c: 90[ ]+nop *
|
164 |
|
|
# @gottpoff IE -> LE against global var defined in exec
|
165 |
|
|
804910d: 65 8b 0d 00 00 00 00[ ]+mov %gs:0x0,%ecx
|
166 |
|
|
8049114: 90[ ]+nop *
|
167 |
|
|
8049115: 90[ ]+nop *
|
168 |
|
|
8049116: 81 e9 00 10 00 00[ ]+sub \$0x1000,%ecx
|
169 |
|
|
# sg1
|
170 |
|
|
804911c: 90[ ]+nop *
|
171 |
|
|
804911d: 90[ ]+nop *
|
172 |
|
|
804911e: 90[ ]+nop *
|
173 |
|
|
804911f: 90[ ]+nop *
|
174 |
|
|
# @gotntpoff IE -> LE against local var
|
175 |
|
|
8049120: 65 8b 0d 00 00 00 00[ ]+mov %gs:0x0,%ecx
|
176 |
|
|
8049127: 90[ ]+nop *
|
177 |
|
|
8049128: 90[ ]+nop *
|
178 |
|
|
8049129: 81 c0 20 f0 ff ff[ ]+add \$0xfffff020,%eax
|
179 |
|
|
# sl1
|
180 |
|
|
804912f: 90[ ]+nop *
|
181 |
|
|
8049130: 90[ ]+nop *
|
182 |
|
|
8049131: 90[ ]+nop *
|
183 |
|
|
8049132: 90[ ]+nop *
|
184 |
|
|
# @gottpoff IE -> LE against hidden var
|
185 |
|
|
8049133: 65 8b 0d 00 00 00 00[ ]+mov %gs:0x0,%ecx
|
186 |
|
|
804913a: 90[ ]+nop *
|
187 |
|
|
804913b: 90[ ]+nop *
|
188 |
|
|
804913c: 81 e9 c0 0f 00 00[ ]+sub \$0xfc0,%ecx
|
189 |
|
|
# sh1
|
190 |
|
|
8049142: 90[ ]+nop *
|
191 |
|
|
8049143: 90[ ]+nop *
|
192 |
|
|
8049144: 90[ ]+nop *
|
193 |
|
|
8049145: 90[ ]+nop *
|
194 |
|
|
# Direct access through %gs
|
195 |
|
|
# @gotntpoff IE against global var
|
196 |
|
|
8049146: 8b 8b e0 ff ff ff[ ]+mov -0x20\(%ebx\),%ecx
|
197 |
|
|
# ->R_386_TLS_TPOFF sG5
|
198 |
|
|
804914c: 90[ ]+nop *
|
199 |
|
|
804914d: 90[ ]+nop *
|
200 |
|
|
804914e: 65 8b 11[ ]+mov %gs:\(%ecx\),%edx
|
201 |
|
|
8049151: 90[ ]+nop *
|
202 |
|
|
8049152: 90[ ]+nop *
|
203 |
|
|
8049153: 90[ ]+nop *
|
204 |
|
|
8049154: 90[ ]+nop *
|
205 |
|
|
# @gotntpoff IE->LE against local var
|
206 |
|
|
8049155: c7 c0 30 f0 ff ff[ ]+mov \$0xfffff030,%eax
|
207 |
|
|
# sl5
|
208 |
|
|
804915b: 90[ ]+nop *
|
209 |
|
|
804915c: 90[ ]+nop *
|
210 |
|
|
804915d: 65 8b 10[ ]+mov %gs:\(%eax\),%edx
|
211 |
|
|
8049160: 90[ ]+nop *
|
212 |
|
|
8049161: 90[ ]+nop *
|
213 |
|
|
8049162: 90[ ]+nop *
|
214 |
|
|
8049163: 90[ ]+nop *
|
215 |
|
|
# @gotntpoff IE->LE against hidden var
|
216 |
|
|
8049164: c7 c2 50 f0 ff ff[ ]+mov \$0xfffff050,%edx
|
217 |
|
|
# sh5
|
218 |
|
|
804916a: 90[ ]+nop *
|
219 |
|
|
804916b: 90[ ]+nop *
|
220 |
|
|
804916c: 65 8b 12[ ]+mov %gs:\(%edx\),%edx
|
221 |
|
|
804916f: 90[ ]+nop *
|
222 |
|
|
8049170: 90[ ]+nop *
|
223 |
|
|
8049171: 90[ ]+nop *
|
224 |
|
|
8049172: 90[ ]+nop *
|
225 |
|
|
# GD -> IE because variable is not defined in executable
|
226 |
|
|
8049173: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
227 |
|
|
8049179: 2b 83 f8 ff ff ff[ ]+sub -0x8\(%ebx\),%eax
|
228 |
|
|
# ->R_386_TLS_TPOFF32 sG1
|
229 |
|
|
804917f: 90[ ]+nop *
|
230 |
|
|
8049180: 90[ ]+nop *
|
231 |
|
|
8049181: 90[ ]+nop *
|
232 |
|
|
8049182: 90[ ]+nop *
|
233 |
|
|
8049183: 8b 5d fc[ ]+mov -0x4\(%ebp\),%ebx
|
234 |
|
|
8049186: c9[ ]+leave *
|
235 |
|
|
8049187: c3[ ]+ret *
|
236 |
|
|
|
237 |
|
|
0+8049188 <_start>:
|
238 |
|
|
8049188: 55[ ]+push %ebp
|
239 |
|
|
8049189: 89 e5[ ]+mov %esp,%ebp
|
240 |
|
|
804918b: e8 00 00 00 00[ ]+call 8049190 <_start\+0x8>
|
241 |
|
|
8049190: 59[ ]+pop %ecx
|
242 |
|
|
8049191: 81 c1 94 0f 00 00[ ]+add \$0xf94,%ecx
|
243 |
|
|
8049197: 90[ ]+nop *
|
244 |
|
|
8049198: 90[ ]+nop *
|
245 |
|
|
8049199: 90[ ]+nop *
|
246 |
|
|
804919a: 90[ ]+nop *
|
247 |
|
|
# @gottpoff IE against global var
|
248 |
|
|
804919b: 65 8b 15 00 00 00 00[ ]+mov %gs:0x0,%edx
|
249 |
|
|
80491a2: 90[ ]+nop *
|
250 |
|
|
80491a3: 90[ ]+nop *
|
251 |
|
|
80491a4: 2b 91 f4 ff ff ff[ ]+sub -0xc\(%ecx\),%edx
|
252 |
|
|
# ->R_386_TLS_TPOFF32 sG6
|
253 |
|
|
80491aa: 90[ ]+nop *
|
254 |
|
|
80491ab: 90[ ]+nop *
|
255 |
|
|
80491ac: 90[ ]+nop *
|
256 |
|
|
80491ad: 90[ ]+nop *
|
257 |
|
|
# @indntpoff IE against global var
|
258 |
|
|
80491ae: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
259 |
|
|
80491b4: 90[ ]+nop *
|
260 |
|
|
80491b5: 90[ ]+nop *
|
261 |
|
|
80491b6: 03 05 08 a1 04 08[ ]+add 0x804a108,%eax
|
262 |
|
|
# ->R_386_TLS_TPOFF sG7
|
263 |
|
|
80491bc: 90[ ]+nop *
|
264 |
|
|
80491bd: 90[ ]+nop *
|
265 |
|
|
80491be: 90[ ]+nop *
|
266 |
|
|
80491bf: 90[ ]+nop *
|
267 |
|
|
# @indntpoff direct %gs access IE against global var
|
268 |
|
|
80491c0: 8b 15 20 a1 04 08[ ]+mov 0x804a120,%edx
|
269 |
|
|
# ->R_386_TLS_TPOFF sG8
|
270 |
|
|
80491c6: 90[ ]+nop *
|
271 |
|
|
80491c7: 90[ ]+nop *
|
272 |
|
|
80491c8: 65 8b 02[ ]+mov %gs:\(%edx\),%eax
|
273 |
|
|
80491cb: 90[ ]+nop *
|
274 |
|
|
80491cc: 90[ ]+nop *
|
275 |
|
|
80491cd: 90[ ]+nop *
|
276 |
|
|
80491ce: 90[ ]+nop *
|
277 |
|
|
# @gottpoff IE -> LE against global var defined in exec
|
278 |
|
|
80491cf: 65 8b 15 00 00 00 00[ ]+mov %gs:0x0,%edx
|
279 |
|
|
80491d6: 90[ ]+nop *
|
280 |
|
|
80491d7: 90[ ]+nop *
|
281 |
|
|
80491d8: 81 ea 8c 0f 00 00[ ]+sub \$0xf8c,%edx
|
282 |
|
|
# bg6
|
283 |
|
|
80491de: 90[ ]+nop *
|
284 |
|
|
80491df: 90[ ]+nop *
|
285 |
|
|
80491e0: 90[ ]+nop *
|
286 |
|
|
80491e1: 90[ ]+nop *
|
287 |
|
|
# @indntpoff IE -> LE against global var defined in exec
|
288 |
|
|
80491e2: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
289 |
|
|
80491e8: 90[ ]+nop *
|
290 |
|
|
80491e9: 90[ ]+nop *
|
291 |
|
|
80491ea: 81 c0 78 f0 ff ff[ ]+add \$0xfffff078,%eax
|
292 |
|
|
# bg7
|
293 |
|
|
80491f0: 90[ ]+nop *
|
294 |
|
|
80491f1: 90[ ]+nop *
|
295 |
|
|
80491f2: 90[ ]+nop *
|
296 |
|
|
80491f3: 90[ ]+nop *
|
297 |
|
|
# @indntpoff direct %gs access IE -> LE against global var defined
|
298 |
|
|
# in exec
|
299 |
|
|
80491f4: c7 c2 7c f0 ff ff[ ]+mov \$0xfffff07c,%edx
|
300 |
|
|
# bg8
|
301 |
|
|
80491fa: 90[ ]+nop *
|
302 |
|
|
80491fb: 90[ ]+nop *
|
303 |
|
|
80491fc: 65 8b 02[ ]+mov %gs:\(%edx\),%eax
|
304 |
|
|
80491ff: 90[ ]+nop *
|
305 |
|
|
8049200: 90[ ]+nop *
|
306 |
|
|
8049201: 90[ ]+nop *
|
307 |
|
|
8049202: 90[ ]+nop *
|
308 |
|
|
# @gottpoff IE -> LE against local var
|
309 |
|
|
8049203: 65 8b 15 00 00 00 00[ ]+mov %gs:0x0,%edx
|
310 |
|
|
804920a: 90[ ]+nop *
|
311 |
|
|
804920b: 90[ ]+nop *
|
312 |
|
|
804920c: 81 ea 6c 0f 00 00[ ]+sub \$0xf6c,%edx
|
313 |
|
|
# bl6
|
314 |
|
|
8049212: 90[ ]+nop *
|
315 |
|
|
8049213: 90[ ]+nop *
|
316 |
|
|
8049214: 90[ ]+nop *
|
317 |
|
|
8049215: 90[ ]+nop *
|
318 |
|
|
# @indntpoff IE -> LE against local var
|
319 |
|
|
8049216: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
320 |
|
|
804921c: 90[ ]+nop *
|
321 |
|
|
804921d: 90[ ]+nop *
|
322 |
|
|
804921e: 81 c0 98 f0 ff ff[ ]+add \$0xfffff098,%eax
|
323 |
|
|
# bl7
|
324 |
|
|
8049224: 90[ ]+nop *
|
325 |
|
|
8049225: 90[ ]+nop *
|
326 |
|
|
8049226: 90[ ]+nop *
|
327 |
|
|
8049227: 90[ ]+nop *
|
328 |
|
|
# @indntpoff direct %gs access IE -> LE against local var
|
329 |
|
|
8049228: c7 c2 9c f0 ff ff[ ]+mov \$0xfffff09c,%edx
|
330 |
|
|
# bl8
|
331 |
|
|
804922e: 90[ ]+nop *
|
332 |
|
|
804922f: 90[ ]+nop *
|
333 |
|
|
8049230: 65 8b 02[ ]+mov %gs:\(%edx\),%eax
|
334 |
|
|
8049233: 90[ ]+nop *
|
335 |
|
|
8049234: 90[ ]+nop *
|
336 |
|
|
8049235: 90[ ]+nop *
|
337 |
|
|
8049236: 90[ ]+nop *
|
338 |
|
|
# @gottpoff IE -> LE against hidden but not local var
|
339 |
|
|
8049237: 65 8b 15 00 00 00 00[ ]+mov %gs:0x0,%edx
|
340 |
|
|
804923e: 90[ ]+nop *
|
341 |
|
|
804923f: 90[ ]+nop *
|
342 |
|
|
8049240: 81 ea ac 0f 00 00[ ]+sub \$0xfac,%edx
|
343 |
|
|
# sh6
|
344 |
|
|
8049246: 90[ ]+nop *
|
345 |
|
|
8049247: 90[ ]+nop *
|
346 |
|
|
8049248: 90[ ]+nop *
|
347 |
|
|
8049249: 90[ ]+nop *
|
348 |
|
|
# @indntpoff IE -> LE against hidden but not local var
|
349 |
|
|
804924a: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
350 |
|
|
8049250: 90[ ]+nop *
|
351 |
|
|
8049251: 90[ ]+nop *
|
352 |
|
|
8049252: 81 c0 58 f0 ff ff[ ]+add \$0xfffff058,%eax
|
353 |
|
|
# sh7
|
354 |
|
|
8049258: 90[ ]+nop *
|
355 |
|
|
8049259: 90[ ]+nop *
|
356 |
|
|
804925a: 90[ ]+nop *
|
357 |
|
|
804925b: 90[ ]+nop *
|
358 |
|
|
# @indntpoff direct %gs access IE -> LE against hidden but not
|
359 |
|
|
# local var
|
360 |
|
|
804925c: c7 c2 5c f0 ff ff[ ]+mov \$0xfffff05c,%edx
|
361 |
|
|
# sh8
|
362 |
|
|
8049262: 90[ ]+nop *
|
363 |
|
|
8049263: 90[ ]+nop *
|
364 |
|
|
8049264: 65 8b 02[ ]+mov %gs:\(%edx\),%eax
|
365 |
|
|
8049267: 90[ ]+nop *
|
366 |
|
|
8049268: 90[ ]+nop *
|
367 |
|
|
8049269: 90[ ]+nop *
|
368 |
|
|
804926a: 90[ ]+nop *
|
369 |
|
|
# LE @tpoff, global var defined in exec
|
370 |
|
|
804926b: ba 00 10 00 00[ ]+mov \$0x1000,%edx
|
371 |
|
|
# sg1
|
372 |
|
|
8049270: 90[ ]+nop *
|
373 |
|
|
8049271: 90[ ]+nop *
|
374 |
|
|
8049272: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
375 |
|
|
8049278: 90[ ]+nop *
|
376 |
|
|
8049279: 90[ ]+nop *
|
377 |
|
|
804927a: 29 d0[ ]+sub %edx,%eax
|
378 |
|
|
804927c: 90[ ]+nop *
|
379 |
|
|
804927d: 90[ ]+nop *
|
380 |
|
|
804927e: 90[ ]+nop *
|
381 |
|
|
804927f: 90[ ]+nop *
|
382 |
|
|
# LE @tpoff, local var
|
383 |
|
|
8049280: b8 7f 0f 00 00[ ]+mov \$0xf7f,%eax
|
384 |
|
|
# bl1+1
|
385 |
|
|
8049285: 90[ ]+nop *
|
386 |
|
|
8049286: 90[ ]+nop *
|
387 |
|
|
8049287: 65 8b 15 00 00 00 00[ ]+mov %gs:0x0,%edx
|
388 |
|
|
804928e: 90[ ]+nop *
|
389 |
|
|
804928f: 90[ ]+nop *
|
390 |
|
|
8049290: 29 c2[ ]+sub %eax,%edx
|
391 |
|
|
8049292: 90[ ]+nop *
|
392 |
|
|
8049293: 90[ ]+nop *
|
393 |
|
|
8049294: 90[ ]+nop *
|
394 |
|
|
8049295: 90[ ]+nop *
|
395 |
|
|
# LE @tpoff, hidden var defined in exec
|
396 |
|
|
8049296: b8 bd 0f 00 00[ ]+mov \$0xfbd,%eax
|
397 |
|
|
# sh1+3
|
398 |
|
|
804929b: 90[ ]+nop *
|
399 |
|
|
804929c: 90[ ]+nop *
|
400 |
|
|
804929d: 65 8b 15 00 00 00 00[ ]+mov %gs:0x0,%edx
|
401 |
|
|
80492a4: 90[ ]+nop *
|
402 |
|
|
80492a5: 90[ ]+nop *
|
403 |
|
|
80492a6: 29 c2[ ]+sub %eax,%edx
|
404 |
|
|
80492a8: 90[ ]+nop *
|
405 |
|
|
80492a9: 90[ ]+nop *
|
406 |
|
|
80492aa: 90[ ]+nop *
|
407 |
|
|
80492ab: 90[ ]+nop *
|
408 |
|
|
# LE @ntpoff, global var defined in exec
|
409 |
|
|
80492ac: 65 a1 00 00 00 00[ ]+mov %gs:0x0,%eax
|
410 |
|
|
80492b2: 90[ ]+nop *
|
411 |
|
|
80492b3: 90[ ]+nop *
|
412 |
|
|
80492b4: 8d 90 04 f0 ff ff[ ]+lea -0xffc\(%eax\),%edx
|
413 |
|
|
# sg2
|
414 |
|
|
80492ba: 90[ ]+nop *
|
415 |
|
|
80492bb: 90[ ]+nop *
|
416 |
|
|
80492bc: 90[ ]+nop *
|
417 |
|
|
80492bd: 90[ ]+nop *
|
418 |
|
|
# LE @ntpoff, local var, non-canonical sequence
|
419 |
|
|
80492be: b8 86 f0 ff ff[ ]+mov \$0xfffff086,%eax
|
420 |
|
|
# bl2+2
|
421 |
|
|
80492c3: 90[ ]+nop *
|
422 |
|
|
80492c4: 90[ ]+nop *
|
423 |
|
|
80492c5: 65 8b 15 00 00 00 00[ ]+mov %gs:0x0,%edx
|
424 |
|
|
80492cc: 90[ ]+nop *
|
425 |
|
|
80492cd: 90[ ]+nop *
|
426 |
|
|
80492ce: 01 c2[ ]+add %eax,%edx
|
427 |
|
|
80492d0: 90[ ]+nop *
|
428 |
|
|
80492d1: 90[ ]+nop *
|
429 |
|
|
80492d2: 90[ ]+nop *
|
430 |
|
|
80492d3: 90[ ]+nop *
|
431 |
|
|
# LE @ntpoff, hidden var defined in exec, non-canonical sequence
|
432 |
|
|
80492d4: 65 8b 15 00 00 00 00[ ]+mov %gs:0x0,%edx
|
433 |
|
|
80492db: 90[ ]+nop *
|
434 |
|
|
80492dc: 90[ ]+nop *
|
435 |
|
|
80492dd: 81 c2 45 f0 ff ff[ ]+add \$0xfffff045,%edx
|
436 |
|
|
# sh2+1
|
437 |
|
|
80492e3: 90[ ]+nop *
|
438 |
|
|
80492e4: 90[ ]+nop *
|
439 |
|
|
80492e5: 90[ ]+nop *
|
440 |
|
|
80492e6: 90[ ]+nop *
|
441 |
|
|
# LE @ntpoff, global var defined in exec
|
442 |
|
|
80492e7: 65 a1 08 f0 ff ff[ ]+mov %gs:0xfffff008,%eax
|
443 |
|
|
# sg3
|
444 |
|
|
80492ed: 90[ ]+nop *
|
445 |
|
|
80492ee: 90[ ]+nop *
|
446 |
|
|
80492ef: 90[ ]+nop *
|
447 |
|
|
80492f0: 90[ ]+nop *
|
448 |
|
|
# LE @ntpoff, local var
|
449 |
|
|
80492f1: 65 8b 15 8b f0 ff ff[ ]+mov %gs:0xfffff08b,%edx
|
450 |
|
|
# bl3+3
|
451 |
|
|
80492f8: 90[ ]+nop *
|
452 |
|
|
80492f9: 90[ ]+nop *
|
453 |
|
|
80492fa: 90[ ]+nop *
|
454 |
|
|
80492fb: 90[ ]+nop *
|
455 |
|
|
# LE @ntpoff, hidden var defined in exec
|
456 |
|
|
80492fc: 65 8b 15 49 f0 ff ff[ ]+mov %gs:0xfffff049,%edx
|
457 |
|
|
# sh3+1
|
458 |
|
|
8049303: 90[ ]+nop *
|
459 |
|
|
8049304: 90[ ]+nop *
|
460 |
|
|
8049305: 90[ ]+nop *
|
461 |
|
|
8049306: 90[ ]+nop *
|
462 |
|
|
8049307: 8b 5d fc[ ]+mov -0x4\(%ebp\),%ebx
|
463 |
|
|
804930a: c9[ ]+leave *
|
464 |
|
|
804930b: c3[ ]+ret *
|