Advertisement
Guest User

Tapas

a guest
Aug 15th, 2010
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.42 KB | None | 0 0
  1.  
  2. a.out: file format elf32-i386
  3.  
  4.  
  5. Disassembly of section .init:
  6.  
  7. 08048274 <_init>:
  8. 8048274: 55 push %ebp
  9. 8048275: 89 e5 mov %esp,%ebp
  10. 8048277: 53 push %ebx
  11. 8048278: 83 ec 04 sub $0x4,%esp
  12. 804827b: e8 00 00 00 00 call 8048280 <_init+0xc>
  13. 8048280: 5b pop %ebx
  14. 8048281: 81 c3 74 1d 00 00 add $0x1d74,%ebx
  15. 8048287: 8b 93 fc ff ff ff mov -0x4(%ebx),%edx
  16. 804828d: 85 d2 test %edx,%edx
  17. 804828f: 74 05 je 8048296 <_init+0x22>
  18. 8048291: e8 1e 00 00 00 call 80482b4 <__gmon_start__@plt>
  19. 8048296: e8 d5 00 00 00 call 8048370 <frame_dummy>
  20. 804829b: e8 b0 01 00 00 call 8048450 <__do_global_ctors_aux>
  21. 80482a0: 58 pop %eax
  22. 80482a1: 5b pop %ebx
  23. 80482a2: c9 leave
  24. 80482a3: c3 ret
  25.  
  26. Disassembly of section .plt:
  27.  
  28. 080482a4 <__gmon_start__@plt-0x10>:
  29. 80482a4: ff 35 f8 9f 04 08 pushl 0x8049ff8
  30. 80482aa: ff 25 fc 9f 04 08 jmp *0x8049ffc
  31. 80482b0: 00 00 add %al,(%eax)
  32. ...
  33.  
  34. 080482b4 <__gmon_start__@plt>:
  35. 80482b4: ff 25 00 a0 04 08 jmp *0x804a000
  36. 80482ba: 68 00 00 00 00 push $0x0
  37. 80482bf: e9 e0 ff ff ff jmp 80482a4 <_init+0x30>
  38.  
  39. 080482c4 <__libc_start_main@plt>:
  40. 80482c4: ff 25 04 a0 04 08 jmp *0x804a004
  41. 80482ca: 68 08 00 00 00 push $0x8
  42. 80482cf: e9 d0 ff ff ff jmp 80482a4 <_init+0x30>
  43.  
  44. Disassembly of section .text:
  45.  
  46. 080482e0 <_start>:
  47. 80482e0: 31 ed xor %ebp,%ebp
  48. 80482e2: 5e pop %esi
  49. 80482e3: 89 e1 mov %esp,%ecx
  50. 80482e5: 83 e4 f0 and $0xfffffff0,%esp
  51. 80482e8: 50 push %eax
  52. 80482e9: 54 push %esp
  53. 80482ea: 52 push %edx
  54. 80482eb: 68 e0 83 04 08 push $0x80483e0
  55. 80482f0: 68 f0 83 04 08 push $0x80483f0
  56. 80482f5: 51 push %ecx
  57. 80482f6: 56 push %esi
  58. 80482f7: 68 94 83 04 08 push $0x8048394
  59. 80482fc: e8 c3 ff ff ff call 80482c4 <__libc_start_main@plt>
  60. 8048301: f4 hlt
  61. 8048302: 90 nop
  62. 8048303: 90 nop
  63. 8048304: 90 nop
  64. 8048305: 90 nop
  65. 8048306: 90 nop
  66. 8048307: 90 nop
  67. 8048308: 90 nop
  68. 8048309: 90 nop
  69. 804830a: 90 nop
  70. 804830b: 90 nop
  71. 804830c: 90 nop
  72. 804830d: 90 nop
  73. 804830e: 90 nop
  74. 804830f: 90 nop
  75.  
  76. 08048310 <__do_global_dtors_aux>:
  77. 8048310: 55 push %ebp
  78. 8048311: 89 e5 mov %esp,%ebp
  79. 8048313: 53 push %ebx
  80. 8048314: 83 ec 04 sub $0x4,%esp
  81. 8048317: 80 3d 10 a0 04 08 00 cmpb $0x0,0x804a010
  82. 804831e: 75 40 jne 8048360 <__do_global_dtors_aux+0x50>
  83. 8048320: 8b 15 14 a0 04 08 mov 0x804a014,%edx
  84. 8048326: b8 18 9f 04 08 mov $0x8049f18,%eax
  85. 804832b: 2d 14 9f 04 08 sub $0x8049f14,%eax
  86. 8048330: c1 f8 02 sar $0x2,%eax
  87. 8048333: 8d 58 ff lea -0x1(%eax),%ebx
  88. 8048336: 39 da cmp %ebx,%edx
  89. 8048338: 73 1f jae 8048359 <__do_global_dtors_aux+0x49>
  90. 804833a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
  91. 8048340: 8d 42 01 lea 0x1(%edx),%eax
  92. 8048343: a3 14 a0 04 08 mov %eax,0x804a014
  93. 8048348: ff 14 85 14 9f 04 08 call *0x8049f14(,%eax,4)
  94. 804834f: 8b 15 14 a0 04 08 mov 0x804a014,%edx
  95. 8048355: 39 da cmp %ebx,%edx
  96. 8048357: 72 e7 jb 8048340 <__do_global_dtors_aux+0x30>
  97. 8048359: c6 05 10 a0 04 08 01 movb $0x1,0x804a010
  98. 8048360: 83 c4 04 add $0x4,%esp
  99. 8048363: 5b pop %ebx
  100. 8048364: 5d pop %ebp
  101. 8048365: c3 ret
  102. 8048366: 8d 76 00 lea 0x0(%esi),%esi
  103. 8048369: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
  104.  
  105. 08048370 <frame_dummy>:
  106. 8048370: 55 push %ebp
  107. 8048371: 89 e5 mov %esp,%ebp
  108. 8048373: 83 ec 08 sub $0x8,%esp
  109. 8048376: a1 1c 9f 04 08 mov 0x8049f1c,%eax
  110. 804837b: 85 c0 test %eax,%eax
  111. 804837d: 74 12 je 8048391 <frame_dummy+0x21>
  112. 804837f: b8 00 00 00 00 mov $0x0,%eax
  113. 8048384: 85 c0 test %eax,%eax
  114. 8048386: 74 09 je 8048391 <frame_dummy+0x21>
  115. 8048388: c7 04 24 1c 9f 04 08 movl $0x8049f1c,(%esp)
  116. 804838f: ff d0 call *%eax
  117. 8048391: c9 leave
  118. 8048392: c3 ret
  119. 8048393: 90 nop
  120.  
  121. 08048394 <main>:
  122. 8048394: 8d 4c 24 04 lea 0x4(%esp),%ecx
  123. 8048398: 83 e4 f0 and $0xfffffff0,%esp
  124. 804839b: ff 71 fc pushl -0x4(%ecx)
  125. 804839e: 55 push %ebp
  126. 804839f: 89 e5 mov %esp,%ebp
  127. 80483a1: 51 push %ecx
  128. 80483a2: 83 ec 1c sub $0x1c,%esp
  129. 80483a5: c7 45 f8 02 00 00 00 movl $0x2,-0x8(%ebp)
  130. 80483ac: c7 45 f4 04 00 00 00 movl $0x4,-0xc(%ebp)
  131. 80483b3: 8b 45 f4 mov -0xc(%ebp),%eax
  132. 80483b6: 89 45 e0 mov %eax,-0x20(%ebp)
  133. 80483b9: 8b 55 e0 mov -0x20(%ebp),%edx
  134. 80483bc: 89 d0 mov %edx,%eax
  135. 80483be: c1 fa 1f sar $0x1f,%edx
  136. 80483c1: f7 7d f8 idivl -0x8(%ebp)
  137. 80483c4: 89 45 f0 mov %eax,-0x10(%ebp)
  138. 80483c7: c7 45 ec 09 00 00 00 movl $0x9,-0x14(%ebp)
  139. 80483ce: 83 c4 1c add $0x1c,%esp
  140. 80483d1: 59 pop %ecx
  141. 80483d2: 5d pop %ebp
  142. 80483d3: 8d 61 fc lea -0x4(%ecx),%esp
  143. 80483d6: c3 ret
  144. 80483d7: 90 nop
  145. 80483d8: 90 nop
  146. 80483d9: 90 nop
  147. 80483da: 90 nop
  148. 80483db: 90 nop
  149. 80483dc: 90 nop
  150. 80483dd: 90 nop
  151. 80483de: 90 nop
  152. 80483df: 90 nop
  153.  
  154. 080483e0 <__libc_csu_fini>:
  155. 80483e0: 55 push %ebp
  156. 80483e1: 89 e5 mov %esp,%ebp
  157. 80483e3: 5d pop %ebp
  158. 80483e4: c3 ret
  159. 80483e5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
  160. 80483e9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
  161.  
  162. 080483f0 <__libc_csu_init>:
  163. 80483f0: 55 push %ebp
  164. 80483f1: 89 e5 mov %esp,%ebp
  165. 80483f3: 57 push %edi
  166. 80483f4: 56 push %esi
  167. 80483f5: 53 push %ebx
  168. 80483f6: e8 4f 00 00 00 call 804844a <__i686.get_pc_thunk.bx>
  169. 80483fb: 81 c3 f9 1b 00 00 add $0x1bf9,%ebx
  170. 8048401: 83 ec 0c sub $0xc,%esp
  171. 8048404: e8 6b fe ff ff call 8048274 <_init>
  172. 8048409: 8d bb 18 ff ff ff lea -0xe8(%ebx),%edi
  173. 804840f: 8d 83 18 ff ff ff lea -0xe8(%ebx),%eax
  174. 8048415: 29 c7 sub %eax,%edi
  175. 8048417: c1 ff 02 sar $0x2,%edi
  176. 804841a: 85 ff test %edi,%edi
  177. 804841c: 74 24 je 8048442 <__libc_csu_init+0x52>
  178. 804841e: 31 f6 xor %esi,%esi
  179. 8048420: 8b 45 10 mov 0x10(%ebp),%eax
  180. 8048423: 89 44 24 08 mov %eax,0x8(%esp)
  181. 8048427: 8b 45 0c mov 0xc(%ebp),%eax
  182. 804842a: 89 44 24 04 mov %eax,0x4(%esp)
  183. 804842e: 8b 45 08 mov 0x8(%ebp),%eax
  184. 8048431: 89 04 24 mov %eax,(%esp)
  185. 8048434: ff 94 b3 18 ff ff ff call *-0xe8(%ebx,%esi,4)
  186. 804843b: 83 c6 01 add $0x1,%esi
  187. 804843e: 39 fe cmp %edi,%esi
  188. 8048440: 72 de jb 8048420 <__libc_csu_init+0x30>
  189. 8048442: 83 c4 0c add $0xc,%esp
  190. 8048445: 5b pop %ebx
  191. 8048446: 5e pop %esi
  192. 8048447: 5f pop %edi
  193. 8048448: 5d pop %ebp
  194. 8048449: c3 ret
  195.  
  196. 0804844a <__i686.get_pc_thunk.bx>:
  197. 804844a: 8b 1c 24 mov (%esp),%ebx
  198. 804844d: c3 ret
  199. 804844e: 90 nop
  200. 804844f: 90 nop
  201.  
  202. 08048450 <__do_global_ctors_aux>:
  203. 8048450: 55 push %ebp
  204. 8048451: 89 e5 mov %esp,%ebp
  205. 8048453: 53 push %ebx
  206. 8048454: 83 ec 04 sub $0x4,%esp
  207. 8048457: a1 0c 9f 04 08 mov 0x8049f0c,%eax
  208. 804845c: 83 f8 ff cmp $0xffffffff,%eax
  209. 804845f: 74 13 je 8048474 <__do_global_ctors_aux+0x24>
  210. 8048461: bb 0c 9f 04 08 mov $0x8049f0c,%ebx
  211. 8048466: 66 90 xchg %ax,%ax
  212. 8048468: 83 eb 04 sub $0x4,%ebx
  213. 804846b: ff d0 call *%eax
  214. 804846d: 8b 03 mov (%ebx),%eax
  215. 804846f: 83 f8 ff cmp $0xffffffff,%eax
  216. 8048472: 75 f4 jne 8048468 <__do_global_ctors_aux+0x18>
  217. 8048474: 83 c4 04 add $0x4,%esp
  218. 8048477: 5b pop %ebx
  219. 8048478: 5d pop %ebp
  220. 8048479: c3 ret
  221. 804847a: 90 nop
  222. 804847b: 90 nop
  223.  
  224. Disassembly of section .fini:
  225.  
  226. 0804847c <_fini>:
  227. 804847c: 55 push %ebp
  228. 804847d: 89 e5 mov %esp,%ebp
  229. 804847f: 53 push %ebx
  230. 8048480: 83 ec 04 sub $0x4,%esp
  231. 8048483: e8 00 00 00 00 call 8048488 <_fini+0xc>
  232. 8048488: 5b pop %ebx
  233. 8048489: 81 c3 6c 1b 00 00 add $0x1b6c,%ebx
  234. 804848f: e8 7c fe ff ff call 8048310 <__do_global_dtors_aux>
  235. 8048494: 59 pop %ecx
  236. 8048495: 5b pop %ebx
  237. 8048496: c9 leave
  238. 8048497: c3 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement