Advertisement
Guest User

Deassemblierter Code

a guest
Dec 7th, 2012
625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.30 KB | None | 0 0
  1. 40047e: b8 00 00 00 00 mov $0x0,%eax
  2. 400483: 48 85 c0 test %rax,%rax
  3. 400486: 74 08 je 400490 <frame_dummy+0x20>
  4. 400488: bf 60 06 60 00 mov $0x600660,%edi
  5. 40048d: c9 leaveq
  6. 40048e: ff e0 jmpq *%rax
  7. 400490: c9 leaveq
  8. 400491: c3 retq
  9. 400492: 90 nop
  10. 400493: 90 nop
  11.  
  12. 0000000000400494 <main>:
  13. 400494: 55 push %rbp
  14. 400495: 48 89 e5 mov %rsp,%rbp
  15. 400498: c7 45 f8 28 00 00 00 movl $0x28,-0x8(%rbp)
  16. 40049f: 8b 45 f8 mov -0x8(%rbp),%eax
  17. 4004a2: 01 c0 add %eax,%eax
  18. 4004a4: 89 45 fc mov %eax,-0x4(%rbp)
  19. 4004a7: b8 00 00 00 00 mov $0x0,%eax
  20. 4004ac: c9 leaveq
  21. 4004ad: c3 retq
  22. 4004ae: 90 nop
  23. 4004af: 90 nop
  24.  
  25. 00000000004004b0 <__libc_csu_fini>:
  26. 4004b0: f3 c3 repz retq
  27. 4004b2: 66 66 66 66 66 2e 0f nopw %cs:0x0(%rax,%rax,1)
  28. 4004b9: 1f 84 00 00 00 00 00
  29.  
  30. 00000000004004c0 <__libc_csu_init>:
  31. 4004c0: 48 89 6c 24 d8 mov %rbp,-0x28(%rsp)
  32. 4004c5: 4c 89 64 24 e0 mov %r12,-0x20(%rsp)
  33. 4004ca: 48 8d 2d 6b 01 20 00 lea 0x20016b(%rip),%rbp # 60063c <__init_array_end>
  34. 4004d1: 4c 8d 25 64 01 20 00 lea 0x200164(%rip),%r12 # 60063c <__init_array_end>
  35. 4004d8: 4c 89 6c 24 e8 mov %r13,-0x18(%rsp)
  36. 4004dd: 4c 89 74 24 f0 mov %r14,-0x10(%rsp)
  37. 4004e2: 4c 89 7c 24 f8 mov %r15,-0x8(%rsp)
  38. 4004e7: 48 89 5c 24 d0 mov %rbx,-0x30(%rsp)
  39. 4004ec: 48 83 ec 38 sub $0x38,%rsp
  40. 4004f0: 4c 29 e5 sub %r12,%rbp
  41. 4004f3: 41 89 fd mov %edi,%r13d
  42. 4004f6: 49 89 f6 mov %rsi,%r14
  43. 4004f9: 48 c1 fd 03 sar $0x3,%rbp
  44. 4004fd: 49 89 d7 mov %rdx,%r15
  45. 400500: e8 6b fe ff ff callq 400370 <_init>
  46. 400505: 48 85 ed test %rbp,%rbp
  47. 400508: 74 1c je 400526 <__libc_csu_init+0x66>
  48. 40050a: 31 db xor %ebx,%ebx
  49. 40050c: 0f 1f 40 00 nopl 0x0(%rax)
  50. 400510: 4c 89 fa mov %r15,%rdx
  51. 400513: 4c 89 f6 mov %r14,%rsi
  52. 400516: 44 89 ef mov %r13d,%edi
  53. 400519: 41 ff 14 dc callq *(%r12,%rbx,8)
  54. 40051d: 48 83 c3 01 add $0x1,%rbx
  55. 400521: 48 39 eb cmp %rbp,%rbx
  56. 400524: 72 ea jb 400510 <__libc_csu_init+0x50>
  57. 400526: 48 8b 5c 24 08 mov 0x8(%rsp),%rbx
  58. 40052b: 48 8b 6c 24 10 mov 0x10(%rsp),%rbp
  59. 400530: 4c 8b 64 24 18 mov 0x18(%rsp),%r12
  60. 400535: 4c 8b 6c 24 20 mov 0x20(%rsp),%r13
  61. 40053a: 4c 8b 74 24 28 mov 0x28(%rsp),%r14
  62. 40053f: 4c 8b 7c 24 30 mov 0x30(%rsp),%r15
  63. 400544: 48 83 c4 38 add $0x38,%rsp
  64. 400548: c3 retq
  65. 400549: 90 nop
  66. 40054a: 90 nop
  67. 40054b: 90 nop
  68. 40054c: 90 nop
  69. 40054d: 90 nop
  70. 40054e: 90 nop
  71. 40054f: 90 nop
  72.  
  73. 0000000000400550 <__do_global_ctors_aux>:
  74. 400550: 55 push %rbp
  75. 400551: 48 89 e5 mov %rsp,%rbp
  76. 400554: 53 push %rbx
  77. 400555: 48 83 ec 08 sub $0x8,%rsp
  78. 400559: 48 8b 05 e0 00 20 00 mov 0x2000e0(%rip),%rax # 600640 <__CTOR_LIST__>
  79. 400560: 48 83 f8 ff cmp $0xffffffffffffffff,%rax
  80. 400564: 74 19 je 40057f <__do_global_ctors_aux+0x2f>
  81. 400566: bb 40 06 60 00 mov $0x600640,%ebx
  82. 40056b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
  83. 400570: 48 83 eb 08 sub $0x8,%rbx
  84. 400574: ff d0 callq *%rax
  85. 400576: 48 8b 03 mov (%rbx),%rax
  86. 400579: 48 83 f8 ff cmp $0xffffffffffffffff,%rax
  87. 40057d: 75 f1 jne 400570 <__do_global_ctors_aux+0x20>
  88. 40057f: 48 83 c4 08 add $0x8,%rsp
  89. 400583: 5b pop %rbx
  90. 400584: c9 leaveq
  91. 400585: c3 retq
  92. 400586: 90 nop
  93. 400587: 90 nop
  94.  
  95. Disassembly of section .fini:
  96.  
  97. 0000000000400588 <_fini>:
  98. 400588: 48 83 ec 08 sub $0x8,%rsp
  99. 40058c: e8 6f fe ff ff callq 400400 <__do_global_dtors_aux>
  100. 400591: 48 83 c4 08 add $0x8,%rsp
  101. 400595: c3 retq
  102. ds11bexo@client70:~$ gcc t.c
  103. ds11bexo@client70:~$ (objdump -S ./a.out)
  104.  
  105. ./a.out: file format elf64-x86-64
  106.  
  107.  
  108. Disassembly of section .init:
  109.  
  110. 0000000000400370 <_init>:
  111. 400370: 48 83 ec 08 sub $0x8,%rsp
  112. 400374: e8 63 00 00 00 callq 4003dc <call_gmon_start>
  113. 400379: e8 f2 00 00 00 callq 400470 <frame_dummy>
  114. 40037e: e8 cd 01 00 00 callq 400550 <__do_global_ctors_aux>
  115. 400383: 48 83 c4 08 add $0x8,%rsp
  116. 400387: c3 retq
  117.  
  118. Disassembly of section .plt:
  119.  
  120. 0000000000400388 <__libc_start_main@plt-0x10>:
  121. 400388: ff 35 8a 04 20 00 pushq 0x20048a(%rip) # 600818 <_GLOBAL_OFFSET_TABLE_+0x8>
  122. 40038e: ff 25 8c 04 20 00 jmpq *0x20048c(%rip) # 600820 <_GLOBAL_OFFSET_TABLE_+0x10>
  123. 400394: 0f 1f 40 00 nopl 0x0(%rax)
  124.  
  125. 0000000000400398 <__libc_start_main@plt>:
  126. 400398: ff 25 8a 04 20 00 jmpq *0x20048a(%rip) # 600828 <_GLOBAL_OFFSET_TABLE_+0x18>
  127. 40039e: 68 00 00 00 00 pushq $0x0
  128. 4003a3: e9 e0 ff ff ff jmpq 400388 <_init+0x18>
  129.  
  130. Disassembly of section .text:
  131.  
  132. 00000000004003b0 <_start>:
  133. 4003b0: 31 ed xor %ebp,%ebp
  134. 4003b2: 49 89 d1 mov %rdx,%r9
  135. 4003b5: 5e pop %rsi
  136. 4003b6: 48 89 e2 mov %rsp,%rdx
  137. 4003b9: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp
  138. 4003bd: 50 push %rax
  139. 4003be: 54 push %rsp
  140. 4003bf: 49 c7 c0 b0 04 40 00 mov $0x4004b0,%r8
  141. 4003c6: 48 c7 c1 c0 04 40 00 mov $0x4004c0,%rcx
  142. 4003cd: 48 c7 c7 94 04 40 00 mov $0x400494,%rdi
  143. 4003d4: e8 bf ff ff ff callq 400398 <__libc_start_main@plt>
  144. 4003d9: f4 hlt
  145. 4003da: 90 nop
  146. 4003db: 90 nop
  147.  
  148. 00000000004003dc <call_gmon_start>:
  149. 4003dc: 48 83 ec 08 sub $0x8,%rsp
  150. 4003e0: 48 8b 05 21 04 20 00 mov 0x200421(%rip),%rax # 600808 <_DYNAMIC+0x1a0>
  151. 4003e7: 48 85 c0 test %rax,%rax
  152. 4003ea: 74 02 je 4003ee <call_gmon_start+0x12>
  153. 4003ec: ff d0 callq *%rax
  154. 4003ee: 48 83 c4 08 add $0x8,%rsp
  155. 4003f2: c3 retq
  156. 4003f3: 90 nop
  157. 4003f4: 90 nop
  158. 4003f5: 90 nop
  159. 4003f6: 90 nop
  160. 4003f7: 90 nop
  161. 4003f8: 90 nop
  162. 4003f9: 90 nop
  163. 4003fa: 90 nop
  164. 4003fb: 90 nop
  165. 4003fc: 90 nop
  166. 4003fd: 90 nop
  167. 4003fe: 90 nop
  168. 4003ff: 90 nop
  169.  
  170. 0000000000400400 <__do_global_dtors_aux>:
  171. 400400: 55 push %rbp
  172. 400401: 48 89 e5 mov %rsp,%rbp
  173. 400404: 53 push %rbx
  174. 400405: 48 83 ec 08 sub $0x8,%rsp
  175. 400409: 80 3d 30 04 20 00 00 cmpb $0x0,0x200430(%rip) # 600840 <__bss_start>
  176. 400410: 75 4b jne 40045d <__do_global_dtors_aux+0x5d>
  177. 400412: bb 58 06 60 00 mov $0x600658,%ebx
  178. 400417: 48 8b 05 2a 04 20 00 mov 0x20042a(%rip),%rax # 600848 <dtor_idx.6343>
  179. 40041e: 48 81 eb 50 06 60 00 sub $0x600650,%rbx
  180. 400425: 48 c1 fb 03 sar $0x3,%rbx
  181. 400429: 48 83 eb 01 sub $0x1,%rbx
  182. 40042d: 48 39 d8 cmp %rbx,%rax
  183. 400430: 73 24 jae 400456 <__do_global_dtors_aux+0x56>
  184. 400432: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
  185. 400438: 48 83 c0 01 add $0x1,%rax
  186. 40043c: 48 89 05 05 04 20 00 mov %rax,0x200405(%rip) # 600848 <dtor_idx.6343>
  187. 400443: ff 14 c5 50 06 60 00 callq *0x600650(,%rax,8)
  188. 40044a: 48 8b 05 f7 03 20 00 mov 0x2003f7(%rip),%rax # 600848 <dtor_idx.6343>
  189. 400451: 48 39 d8 cmp %rbx,%rax
  190. 400454: 72 e2 jb 400438 <__do_global_dtors_aux+0x38>
  191. 400456: c6 05 e3 03 20 00 01 movb $0x1,0x2003e3(%rip) # 600840 <__bss_start>
  192. 40045d: 48 83 c4 08 add $0x8,%rsp
  193. 400461: 5b pop %rbx
  194. 400462: c9 leaveq
  195. 400463: c3 retq
  196. 400464: 66 66 66 2e 0f 1f 84 nopw %cs:0x0(%rax,%rax,1)
  197. 40046b: 00 00 00 00 00
  198.  
  199. 0000000000400470 <frame_dummy>:
  200. 400470: 55 push %rbp
  201. 400471: 48 83 3d e7 01 20 00 cmpq $0x0,0x2001e7(%rip) # 600660 <__JCR_END__>
  202. 400478: 00
  203. 400479: 48 89 e5 mov %rsp,%rbp
  204. 40047c: 74 12 je 400490 <frame_dummy+0x20>
  205. 40047e: b8 00 00 00 00 mov $0x0,%eax
  206. 400483: 48 85 c0 test %rax,%rax
  207. 400486: 74 08 je 400490 <frame_dummy+0x20>
  208. 400488: bf 60 06 60 00 mov $0x600660,%edi
  209. 40048d: c9 leaveq
  210. 40048e: ff e0 jmpq *%rax
  211. 400490: c9 leaveq
  212. 400491: c3 retq
  213. 400492: 90 nop
  214. 400493: 90 nop
  215.  
  216. 0000000000400494 <main>:
  217. 400494: 55 push %rbp
  218. 400495: 48 89 e5 mov %rsp,%rbp
  219. 400498: c7 45 f8 28 00 00 00 movl $0x28,-0x8(%rbp)
  220. 40049f: 8b 45 f8 mov -0x8(%rbp),%eax
  221. 4004a2: 01 c0 add %eax,%eax
  222. 4004a4: 89 45 fc mov %eax,-0x4(%rbp)
  223. 4004a7: b8 00 00 00 00 mov $0x0,%eax
  224. 4004ac: c9 leaveq
  225. 4004ad: c3 retq
  226. 4004ae: 90 nop
  227. 4004af: 90 nop
  228.  
  229. 00000000004004b0 <__libc_csu_fini>:
  230. 4004b0: f3 c3 repz retq
  231. 4004b2: 66 66 66 66 66 2e 0f nopw %cs:0x0(%rax,%rax,1)
  232. 4004b9: 1f 84 00 00 00 00 00
  233.  
  234. 00000000004004c0 <__libc_csu_init>:
  235. 4004c0: 48 89 6c 24 d8 mov %rbp,-0x28(%rsp)
  236. 4004c5: 4c 89 64 24 e0 mov %r12,-0x20(%rsp)
  237. 4004ca: 48 8d 2d 6b 01 20 00 lea 0x20016b(%rip),%rbp # 60063c <__init_array_end>
  238. 4004d1: 4c 8d 25 64 01 20 00 lea 0x200164(%rip),%r12 # 60063c <__init_array_end>
  239. 4004d8: 4c 89 6c 24 e8 mov %r13,-0x18(%rsp)
  240. 4004dd: 4c 89 74 24 f0 mov %r14,-0x10(%rsp)
  241. 4004e2: 4c 89 7c 24 f8 mov %r15,-0x8(%rsp)
  242. 4004e7: 48 89 5c 24 d0 mov %rbx,-0x30(%rsp)
  243. 4004ec: 48 83 ec 38 sub $0x38,%rsp
  244. 4004f0: 4c 29 e5 sub %r12,%rbp
  245. 4004f3: 41 89 fd mov %edi,%r13d
  246. 4004f6: 49 89 f6 mov %rsi,%r14
  247. 4004f9: 48 c1 fd 03 sar $0x3,%rbp
  248. 4004fd: 49 89 d7 mov %rdx,%r15
  249. 400500: e8 6b fe ff ff callq 400370 <_init>
  250. 400505: 48 85 ed test %rbp,%rbp
  251. 400508: 74 1c je 400526 <__libc_csu_init+0x66>
  252. 40050a: 31 db xor %ebx,%ebx
  253. 40050c: 0f 1f 40 00 nopl 0x0(%rax)
  254. 400510: 4c 89 fa mov %r15,%rdx
  255. 400513: 4c 89 f6 mov %r14,%rsi
  256. 400516: 44 89 ef mov %r13d,%edi
  257. 400519: 41 ff 14 dc callq *(%r12,%rbx,8)
  258. 40051d: 48 83 c3 01 add $0x1,%rbx
  259. 400521: 48 39 eb cmp %rbp,%rbx
  260. 400524: 72 ea jb 400510 <__libc_csu_init+0x50>
  261. 400526: 48 8b 5c 24 08 mov 0x8(%rsp),%rbx
  262. 40052b: 48 8b 6c 24 10 mov 0x10(%rsp),%rbp
  263. 400530: 4c 8b 64 24 18 mov 0x18(%rsp),%r12
  264. 400535: 4c 8b 6c 24 20 mov 0x20(%rsp),%r13
  265. 40053a: 4c 8b 74 24 28 mov 0x28(%rsp),%r14
  266. 40053f: 4c 8b 7c 24 30 mov 0x30(%rsp),%r15
  267. 400544: 48 83 c4 38 add $0x38,%rsp
  268. 400548: c3 retq
  269. 400549: 90 nop
  270. 40054a: 90 nop
  271. 40054b: 90 nop
  272. 40054c: 90 nop
  273. 40054d: 90 nop
  274. 40054e: 90 nop
  275. 40054f: 90 nop
  276.  
  277. 0000000000400550 <__do_global_ctors_aux>:
  278. 400550: 55 push %rbp
  279. 400551: 48 89 e5 mov %rsp,%rbp
  280. 400554: 53 push %rbx
  281. 400555: 48 83 ec 08 sub $0x8,%rsp
  282. 400559: 48 8b 05 e0 00 20 00 mov 0x2000e0(%rip),%rax # 600640 <__CTOR_LIST__>
  283. 400560: 48 83 f8 ff cmp $0xffffffffffffffff,%rax
  284. 400564: 74 19 je 40057f <__do_global_ctors_aux+0x2f>
  285. 400566: bb 40 06 60 00 mov $0x600640,%ebx
  286. 40056b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
  287. 400570: 48 83 eb 08 sub $0x8,%rbx
  288. 400574: ff d0 callq *%rax
  289. 400576: 48 8b 03 mov (%rbx),%rax
  290. 400579: 48 83 f8 ff cmp $0xffffffffffffffff,%rax
  291. 40057d: 75 f1 jne 400570 <__do_global_ctors_aux+0x20>
  292. 40057f: 48 83 c4 08 add $0x8,%rsp
  293. 400583: 5b pop %rbx
  294. 400584: c9 leaveq
  295. 400585: c3 retq
  296. 400586: 90 nop
  297. 400587: 90 nop
  298.  
  299. Disassembly of section .fini:
  300.  
  301. 0000000000400588 <_fini>:
  302. 400588: 48 83 ec 08 sub $0x8,%rsp
  303. 40058c: e8 6f fe ff ff callq 400400 <__do_global_dtors_aux>
  304. 400591: 48 83 c4 08 add $0x8,%rsp
  305. 400595: c3 retq
  306. ds11bexo@client70:~$ clear
  307.  
  308. ds11bexo@client70:~$ (objdump -S ./a.out)
  309.  
  310. ./a.out: file format elf64-x86-64
  311.  
  312.  
  313. Disassembly of section .init:
  314.  
  315. 0000000000400370 <_init>:
  316. 400370: 48 83 ec 08 sub $0x8,%rsp
  317. 400374: e8 63 00 00 00 callq 4003dc <call_gmon_start>
  318. 400379: e8 f2 00 00 00 callq 400470 <frame_dummy>
  319. 40037e: e8 cd 01 00 00 callq 400550 <__do_global_ctors_aux>
  320. 400383: 48 83 c4 08 add $0x8,%rsp
  321. 400387: c3 retq
  322.  
  323. Disassembly of section .plt:
  324.  
  325. 0000000000400388 <__libc_start_main@plt-0x10>:
  326. 400388: ff 35 8a 04 20 00 pushq 0x20048a(%rip) # 600818 <_GLOBAL_OFFSET_TABLE_+0x8>
  327. 40038e: ff 25 8c 04 20 00 jmpq *0x20048c(%rip) # 600820 <_GLOBAL_OFFSET_TABLE_+0x10>
  328. 400394: 0f 1f 40 00 nopl 0x0(%rax)
  329.  
  330. 0000000000400398 <__libc_start_main@plt>:
  331. 400398: ff 25 8a 04 20 00 jmpq *0x20048a(%rip) # 600828 <_GLOBAL_OFFSET_TABLE_+0x18>
  332. 40039e: 68 00 00 00 00 pushq $0x0
  333. 4003a3: e9 e0 ff ff ff jmpq 400388 <_init+0x18>
  334.  
  335. Disassembly of section .text:
  336.  
  337. 00000000004003b0 <_start>:
  338. 4003b0: 31 ed xor %ebp,%ebp
  339. 4003b2: 49 89 d1 mov %rdx,%r9
  340. 4003b5: 5e pop %rsi
  341. 4003b6: 48 89 e2 mov %rsp,%rdx
  342. 4003b9: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp
  343. 4003bd: 50 push %rax
  344. 4003be: 54 push %rsp
  345. 4003bf: 49 c7 c0 b0 04 40 00 mov $0x4004b0,%r8
  346. 4003c6: 48 c7 c1 c0 04 40 00 mov $0x4004c0,%rcx
  347. 4003cd: 48 c7 c7 94 04 40 00 mov $0x400494,%rdi
  348. 4003d4: e8 bf ff ff ff callq 400398 <__libc_start_main@plt>
  349. 4003d9: f4 hlt
  350. 4003da: 90 nop
  351. 4003db: 90 nop
  352.  
  353. 00000000004003dc <call_gmon_start>:
  354. 4003dc: 48 83 ec 08 sub $0x8,%rsp
  355. 4003e0: 48 8b 05 21 04 20 00 mov 0x200421(%rip),%rax # 600808 <_DYNAMIC+0x1a0>
  356. 4003e7: 48 85 c0 test %rax,%rax
  357. 4003ea: 74 02 je 4003ee <call_gmon_start+0x12>
  358. 4003ec: ff d0 callq *%rax
  359. 4003ee: 48 83 c4 08 add $0x8,%rsp
  360. 4003f2: c3 retq
  361. 4003f3: 90 nop
  362. 4003f4: 90 nop
  363. 4003f5: 90 nop
  364. 4003f6: 90 nop
  365. 4003f7: 90 nop
  366. 4003f8: 90 nop
  367. 4003f9: 90 nop
  368. 4003fa: 90 nop
  369. 4003fb: 90 nop
  370. 4003fc: 90 nop
  371. 4003fd: 90 nop
  372. 4003fe: 90 nop
  373. 4003ff: 90 nop
  374.  
  375. 0000000000400400 <__do_global_dtors_aux>:
  376. 400400: 55 push %rbp
  377. 400401: 48 89 e5 mov %rsp,%rbp
  378. 400404: 53 push %rbx
  379. 400405: 48 83 ec 08 sub $0x8,%rsp
  380. 400409: 80 3d 30 04 20 00 00 cmpb $0x0,0x200430(%rip) # 600840 <__bss_start>
  381. 400410: 75 4b jne 40045d <__do_global_dtors_aux+0x5d>
  382. 400412: bb 58 06 60 00 mov $0x600658,%ebx
  383. 400417: 48 8b 05 2a 04 20 00 mov 0x20042a(%rip),%rax # 600848 <dtor_idx.6343>
  384. 40041e: 48 81 eb 50 06 60 00 sub $0x600650,%rbx
  385. 400425: 48 c1 fb 03 sar $0x3,%rbx
  386. 400429: 48 83 eb 01 sub $0x1,%rbx
  387. 40042d: 48 39 d8 cmp %rbx,%rax
  388. 400430: 73 24 jae 400456 <__do_global_dtors_aux+0x56>
  389. 400432: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
  390. 400438: 48 83 c0 01 add $0x1,%rax
  391. 40043c: 48 89 05 05 04 20 00 mov %rax,0x200405(%rip) # 600848 <dtor_idx.6343>
  392. 400443: ff 14 c5 50 06 60 00 callq *0x600650(,%rax,8)
  393. 40044a: 48 8b 05 f7 03 20 00 mov 0x2003f7(%rip),%rax # 600848 <dtor_idx.6343>
  394. 400451: 48 39 d8 cmp %rbx,%rax
  395. 400454: 72 e2 jb 400438 <__do_global_dtors_aux+0x38>
  396. 400456: c6 05 e3 03 20 00 01 movb $0x1,0x2003e3(%rip) # 600840 <__bss_start>
  397. 40045d: 48 83 c4 08 add $0x8,%rsp
  398. 400461: 5b pop %rbx
  399. 400462: c9 leaveq
  400. 400463: c3 retq
  401. 400464: 66 66 66 2e 0f 1f 84 nopw %cs:0x0(%rax,%rax,1)
  402. 40046b: 00 00 00 00 00
  403.  
  404. 0000000000400470 <frame_dummy>:
  405. 400470: 55 push %rbp
  406. 400471: 48 83 3d e7 01 20 00 cmpq $0x0,0x2001e7(%rip) # 600660 <__JCR_END__>
  407. 400478: 00
  408. 400479: 48 89 e5 mov %rsp,%rbp
  409. 40047c: 74 12 je 400490 <frame_dummy+0x20>
  410. 40047e: b8 00 00 00 00 mov $0x0,%eax
  411. 400483: 48 85 c0 test %rax,%rax
  412. 400486: 74 08 je 400490 <frame_dummy+0x20>
  413. 400488: bf 60 06 60 00 mov $0x600660,%edi
  414. 40048d: c9 leaveq
  415. 40048e: ff e0 jmpq *%rax
  416. 400490: c9 leaveq
  417. 400491: c3 retq
  418. 400492: 90 nop
  419. 400493: 90 nop
  420.  
  421. 0000000000400494 <main>:
  422. 400494: 55 push %rbp
  423. 400495: 48 89 e5 mov %rsp,%rbp
  424. 400498: c7 45 f8 28 00 00 00 movl $0x28,-0x8(%rbp)
  425. 40049f: 8b 45 f8 mov -0x8(%rbp),%eax
  426. 4004a2: 01 c0 add %eax,%eax
  427. 4004a4: 89 45 fc mov %eax,-0x4(%rbp)
  428. 4004a7: b8 00 00 00 00 mov $0x0,%eax
  429. 4004ac: c9 leaveq
  430. 4004ad: c3 retq
  431. 4004ae: 90 nop
  432. 4004af: 90 nop
  433.  
  434. 00000000004004b0 <__libc_csu_fini>:
  435. 4004b0: f3 c3 repz retq
  436. 4004b2: 66 66 66 66 66 2e 0f nopw %cs:0x0(%rax,%rax,1)
  437. 4004b9: 1f 84 00 00 00 00 00
  438.  
  439. 00000000004004c0 <__libc_csu_init>:
  440. 4004c0: 48 89 6c 24 d8 mov %rbp,-0x28(%rsp)
  441. 4004c5: 4c 89 64 24 e0 mov %r12,-0x20(%rsp)
  442. 4004ca: 48 8d 2d 6b 01 20 00 lea 0x20016b(%rip),%rbp # 60063c <__init_array_end>
  443. 4004d1: 4c 8d 25 64 01 20 00 lea 0x200164(%rip),%r12 # 60063c <__init_array_end>
  444. 4004d8: 4c 89 6c 24 e8 mov %r13,-0x18(%rsp)
  445. 4004dd: 4c 89 74 24 f0 mov %r14,-0x10(%rsp)
  446. 4004e2: 4c 89 7c 24 f8 mov %r15,-0x8(%rsp)
  447. 4004e7: 48 89 5c 24 d0 mov %rbx,-0x30(%rsp)
  448. 4004ec: 48 83 ec 38 sub $0x38,%rsp
  449. 4004f0: 4c 29 e5 sub %r12,%rbp
  450. 4004f3: 41 89 fd mov %edi,%r13d
  451. 4004f6: 49 89 f6 mov %rsi,%r14
  452. 4004f9: 48 c1 fd 03 sar $0x3,%rbp
  453. 4004fd: 49 89 d7 mov %rdx,%r15
  454. 400500: e8 6b fe ff ff callq 400370 <_init>
  455. 400505: 48 85 ed test %rbp,%rbp
  456. 400508: 74 1c je 400526 <__libc_csu_init+0x66>
  457. 40050a: 31 db xor %ebx,%ebx
  458. 40050c: 0f 1f 40 00 nopl 0x0(%rax)
  459. 400510: 4c 89 fa mov %r15,%rdx
  460. 400513: 4c 89 f6 mov %r14,%rsi
  461. 400516: 44 89 ef mov %r13d,%edi
  462. 400519: 41 ff 14 dc callq *(%r12,%rbx,8)
  463. 40051d: 48 83 c3 01 add $0x1,%rbx
  464. 400521: 48 39 eb cmp %rbp,%rbx
  465. 400524: 72 ea jb 400510 <__libc_csu_init+0x50>
  466. 400526: 48 8b 5c 24 08 mov 0x8(%rsp),%rbx
  467. 40052b: 48 8b 6c 24 10 mov 0x10(%rsp),%rbp
  468. 400530: 4c 8b 64 24 18 mov 0x18(%rsp),%r12
  469. 400535: 4c 8b 6c 24 20 mov 0x20(%rsp),%r13
  470. 40053a: 4c 8b 74 24 28 mov 0x28(%rsp),%r14
  471. 40053f: 4c 8b 7c 24 30 mov 0x30(%rsp),%r15
  472. 400544: 48 83 c4 38 add $0x38,%rsp
  473. 400548: c3 retq
  474. 400549: 90 nop
  475. 40054a: 90 nop
  476. 40054b: 90 nop
  477. 40054c: 90 nop
  478. 40054d: 90 nop
  479. 40054e: 90 nop
  480. 40054f: 90 nop
  481.  
  482. 0000000000400550 <__do_global_ctors_aux>:
  483. 400550: 55 push %rbp
  484. 400551: 48 89 e5 mov %rsp,%rbp
  485. 400554: 53 push %rbx
  486. 400555: 48 83 ec 08 sub $0x8,%rsp
  487. 400559: 48 8b 05 e0 00 20 00 mov 0x2000e0(%rip),%rax # 600640 <__CTOR_LIST__>
  488. 400560: 48 83 f8 ff cmp $0xffffffffffffffff,%rax
  489. 400564: 74 19 je 40057f <__do_global_ctors_aux+0x2f>
  490. 400566: bb 40 06 60 00 mov $0x600640,%ebx
  491. 40056b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
  492. 400570: 48 83 eb 08 sub $0x8,%rbx
  493. 400574: ff d0 callq *%rax
  494. 400576: 48 8b 03 mov (%rbx),%rax
  495. 400579: 48 83 f8 ff cmp $0xffffffffffffffff,%rax
  496. 40057d: 75 f1 jne 400570 <__do_global_ctors_aux+0x20>
  497. 40057f: 48 83 c4 08 add $0x8,%rsp
  498. 400583: 5b pop %rbx
  499. 400584: c9 leaveq
  500. 400585: c3 retq
  501. 400586: 90 nop
  502. 400587: 90 nop
  503.  
  504. Disassembly of section .fini:
  505.  
  506. 0000000000400588 <_fini>:
  507. 400588: 48 83 ec 08 sub $0x8,%rsp
  508. 40058c: e8 6f fe ff ff callq 400400 <__do_global_dtors_aux>
  509. 400591: 48 83 c4 08 add $0x8,%rsp
  510. 400595: c3 retq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement