Advertisement
Guest User

Untitled

a guest
Jul 12th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 KB | None | 0 0
  1. 00005618 <main>:
  2. 5618: 55 push %ebp
  3. 5619: 89 e5 mov %esp,%ebp
  4. 561b: 57 push %edi
  5. 561c: 56 push %esi
  6. 561d: 53 push %ebx
  7. 561e: 83 e4 f0 and $0xfffffff0,%esp
  8. 5621: 83 ec 30 sub $0x30,%esp
  9. 5624: c7 44 24 04 00 8a 00 movl $0x8a00,0x4(%esp)
  10. 562b: 00
  11. 562c: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  12. 5633: e8 8b 02 00 00 call 58c3 <outportw>
  13. 5638: c7 44 24 04 e0 8a 00 movl $0x8ae0,0x4(%esp)
  14. 563f: 00
  15. 5640: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  16. 5647: e8 77 02 00 00 call 58c3 <outportw>
  17. 564c: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
  18. 5653: 00
  19. 5654: c7 04 24 0f 00 00 00 movl $0xf,(%esp)
  20. 565b: e8 40 0f 00 00 call 65a0 <init_text_mode>
  21. 5660: c7 44 24 04 00 8a 00 movl $0x8a00,0x4(%esp)
  22. 5667: 00
  23. 5668: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  24. 566f: e8 4f 02 00 00 call 58c3 <outportw>
  25. 5674: c7 44 24 04 e0 8a 00 movl $0x8ae0,0x4(%esp)
  26. 567b: 00
  27. 567c: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  28. 5683: e8 3b 02 00 00 call 58c3 <outportw>
  29. 5688: c7 04 24 08 00 00 00 movl $0x8,(%esp)
  30. 568f: e8 c0 06 00 00 call 5d54 <kmalloc>
  31. 5694: 89 44 24 2c mov %eax,0x2c(%esp)
  32. 5698: c7 44 24 04 00 8a 00 movl $0x8a00,0x4(%esp)
  33. 569f: 00
  34. 56a0: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  35. 56a7: e8 17 02 00 00 call 58c3 <outportw>
  36. 56ac: c7 44 24 04 e0 8a 00 movl $0x8ae0,0x4(%esp)
  37. 56b3: 00
  38. 56b4: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  39. 56bb: e8 03 02 00 00 call 58c3 <outportw>
  40. 56c0: 8b 44 24 2c mov 0x2c(%esp),%eax
  41. 56c4: 83 c0 04 add $0x4,%eax
  42. 56c7: 89 44 24 04 mov %eax,0x4(%esp)
  43. 56cb: 8b 45 08 mov 0x8(%ebp),%eax
  44. 56ce: 89 04 24 mov %eax,(%esp)
  45. 56d1: e8 5e 03 00 00 call 5a34 <e820_convert_mem_map>
  46. 56d6: 8b 54 24 2c mov 0x2c(%esp),%edx
  47. 56da: 89 02 mov %eax,(%edx)
  48. 56dc: c7 44 24 04 00 8a 00 movl $0x8a00,0x4(%esp)
  49. 56e3: 00
  50. 56e4: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  51. 56eb: e8 d3 01 00 00 call 58c3 <outportw>
  52. 56f0: c7 44 24 04 e0 8a 00 movl $0x8ae0,0x4(%esp)
  53. 56f7: 00
  54. 56f8: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  55. 56ff: e8 bf 01 00 00 call 58c3 <outportw>
  56. 5704: c7 04 24 00 00 00 00 movl $0x0,(%esp)
  57. 570b: e8 8c 0b 00 00 call 629c <get_active_mbr_entry>
  58. 5710: 89 44 24 04 mov %eax,0x4(%esp)
  59. 5714: c7 04 24 00 00 00 00 movl $0x0,(%esp)
  60. 571b: e8 4d 0b 00 00 call 626d <get_mbr_partition>
  61. 5720: 89 c3 mov %eax,%ebx
  62. 5722: c7 44 24 04 00 8a 00 movl $0x8a00,0x4(%esp)
  63. 5729: 00
  64. 572a: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  65. 5731: e8 8d 01 00 00 call 58c3 <outportw>
  66. 5736: c7 44 24 04 e0 8a 00 movl $0x8ae0,0x4(%esp)
  67. 573d: 00
  68. 573e: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  69. 5745: e8 79 01 00 00 call 58c3 <outportw>
  70. 574a: 89 1c 24 mov %ebx,(%esp)
  71. 574d: e8 94 f3 ff ff call 4ae6 <read_superblock>
  72. 5752: 89 c6 mov %eax,%esi
  73. 5754: c7 44 24 04 00 8a 00 movl $0x8a00,0x4(%esp)
  74. 575b: 00
  75. 575c: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  76. 5763: e8 5b 01 00 00 call 58c3 <outportw>
  77. 5768: c7 44 24 04 e0 8a 00 movl $0x8ae0,0x4(%esp)
  78. 576f: 00
  79. 5770: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  80. 5777: e8 47 01 00 00 call 58c3 <outportw>
  81. 577c: c7 44 24 08 02 00 00 movl $0x2,0x8(%esp)
  82. 5783: 00
  83. 5784: 89 74 24 04 mov %esi,0x4(%esp)
  84. 5788: 89 1c 24 mov %ebx,(%esp)
  85. 578b: e8 b1 f3 ff ff call 4b41 <read_inode>
  86. 5790: 89 c7 mov %eax,%edi
  87. 5792: c7 44 24 04 00 8a 00 movl $0x8a00,0x4(%esp)
  88. 5799: 00
  89. 579a: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  90. 57a1: e8 1d 01 00 00 call 58c3 <outportw>
  91. 57a6: c7 44 24 04 e0 8a 00 movl $0x8ae0,0x4(%esp)
  92. 57ad: 00
  93. 57ae: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  94. 57b5: e8 09 01 00 00 call 58c3 <outportw>
  95. 57ba: c7 44 24 0c 27 7e 00 movl $0x7e27,0xc(%esp)
  96. 57c1: 00
  97. 57c2: 89 7c 24 08 mov %edi,0x8(%esp)
  98. 57c6: 89 74 24 04 mov %esi,0x4(%esp)
  99. 57ca: 89 1c 24 mov %ebx,(%esp)
  100. 57cd: e8 8a f2 ff ff call 4a5c <ext2_finddir>
  101. 57d2: 89 c7 mov %eax,%edi
  102. 57d4: c7 44 24 04 00 8a 00 movl $0x8a00,0x4(%esp)
  103. 57db: 00
  104. 57dc: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  105. 57e3: e8 db 00 00 00 call 58c3 <outportw>
  106. 57e8: c7 44 24 04 e0 8a 00 movl $0x8ae0,0x4(%esp)
  107. 57ef: 00
  108. 57f0: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  109. 57f7: e8 c7 00 00 00 call 58c3 <outportw>
  110. 57fc: 89 7c 24 08 mov %edi,0x8(%esp)
  111. 5800: 89 74 24 04 mov %esi,0x4(%esp)
  112. 5804: 89 1c 24 mov %ebx,(%esp)
  113. 5807: e8 35 f3 ff ff call 4b41 <read_inode>
  114. 580c: 89 c7 mov %eax,%edi
  115. 580e: c7 44 24 04 00 8a 00 movl $0x8a00,0x4(%esp)
  116. 5815: 00
  117. 5816: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  118. 581d: e8 a1 00 00 00 call 58c3 <outportw>
  119. 5822: c7 44 24 04 e0 8a 00 movl $0x8ae0,0x4(%esp)
  120. 5829: 00
  121. 582a: c7 04 24 00 8a 00 00 movl $0x8a00,(%esp)
  122. 5831: e8 8d 00 00 00 call 58c3 <outportw>
  123. 5836: c7 44 24 0c 2c 7e 00 movl $0x7e2c,0xc(%esp)
  124. 583d: 00
  125. 583e: 89 7c 24 08 mov %edi,0x8(%esp)
  126. 5842: 89 74 24 04 mov %esi,0x4(%esp)
  127. 5846: 89 1c 24 mov %ebx,(%esp)
  128. 5849: e8 0e f2 ff ff call 4a5c <ext2_finddir>
  129. 584e: 89 44 24 08 mov %eax,0x8(%esp)
  130. 5852: 89 74 24 04 mov %esi,0x4(%esp)
  131. 5856: 89 1c 24 mov %ebx,(%esp)
  132. 5859: e8 e3 f2 ff ff call 4b41 <read_inode>
  133. 585e: 89 c7 mov %eax,%edi
  134. 5860: 8b 40 04 mov 0x4(%eax),%eax
  135. 5863: 89 04 24 mov %eax,(%esp)
  136. 5866: e8 e9 04 00 00 call 5d54 <kmalloc>
  137. 586b: 89 44 24 28 mov %eax,0x28(%esp)
  138. 586f: 8b 47 04 mov 0x4(%edi),%eax
  139. 5872: 89 44 24 10 mov %eax,0x10(%esp)
  140. 5876: 8b 44 24 28 mov 0x28(%esp),%eax
  141. 587a: 89 44 24 0c mov %eax,0xc(%esp)
  142. 587e: 89 7c 24 08 mov %edi,0x8(%esp)
  143. 5882: 89 74 24 04 mov %esi,0x4(%esp)
  144. 5886: 89 1c 24 mov %ebx,(%esp)
  145. 5889: e8 f5 ef ff ff call 4883 <ext2_read>
  146. 588e: 8b 44 24 28 mov 0x28(%esp),%eax
  147. 5892: 89 04 24 mov %eax,(%esp)
  148. 5895: e8 68 e8 ff ff call 4102 <elf_load_executable>
  149. 589a: 8b 54 24 28 mov 0x28(%esp),%edx
  150. 589e: 8b 42 18 mov 0x18(%edx),%eax
  151. 58a1: 8b 54 24 2c mov 0x2c(%esp),%edx
  152. 58a5: 52 push %edx
  153. 58a6: ff e0 jmp *%eax
  154. 58a8: eb fe jmp 58a8 <main+0x290>
  155. 58aa: 66 90 xchg %ax,%ax
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement