hex0glo.dump.txt 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. hex0glo.bin: file format elf64-x86-64
  2. Disassembly of section .data:
  3. 0000000000600078 <_start>:
  4. 600078: e8 b6 00 00 00 callq 600133 <getchar>
  5. 60007d: 48 83 f8 ff cmp $0xffffffffffffffff,%rax
  6. 600081: 74 4a je 6000cd <_start.done>
  7. 600083: 48 83 f8 20 cmp $0x20,%rax
  8. 600087: 74 ef je 600078 <_start>
  9. 600089: 48 83 f8 09 cmp $0x9,%rax
  10. 60008d: 74 e9 je 600078 <_start>
  11. 60008f: 48 83 f8 0a cmp $0xa,%rax
  12. 600093: 74 e3 je 600078 <_start>
  13. 600095: 48 83 f8 23 cmp $0x23,%rax
  14. 600099: 74 42 je 6000dd <skip_comment>
  15. 60009b: e8 50 00 00 00 callq 6000f0 <hex_digit>
  16. 6000a0: 48 c1 e0 04 shl $0x4,%rax
  17. 6000a4: 48 89 04 25 a0 01 60 mov %rax,0x6001a0
  18. 6000ab: 00
  19. 6000ac: e8 82 00 00 00 callq 600133 <getchar>
  20. 6000b1: e8 3a 00 00 00 callq 6000f0 <hex_digit>
  21. 6000b6: 48 09 04 25 a0 01 60 or %rax,0x6001a0
  22. 6000bd: 00
  23. 6000be: 48 8b 04 25 a0 01 60 mov 0x6001a0,%rax
  24. 6000c5: 00
  25. 6000c6: e8 a4 00 00 00 callq 60016f <putchar>
  26. 6000cb: eb ab jmp 600078 <_start>
  27. 00000000006000cd <_start.done>:
  28. 6000cd: 48 c7 c0 3c 00 00 00 mov $0x3c,%rax
  29. 6000d4: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
  30. 6000db: 0f 05 syscall
  31. 00000000006000dd <skip_comment>:
  32. 6000dd: e8 51 00 00 00 callq 600133 <getchar>
  33. 6000e2: 48 83 f8 ff cmp $0xffffffffffffffff,%rax
  34. 6000e6: 74 3b je 600123 <die>
  35. 6000e8: 48 83 f8 0a cmp $0xa,%rax
  36. 6000ec: 74 8a je 600078 <_start>
  37. 6000ee: eb ed jmp 6000dd <skip_comment>
  38. 00000000006000f0 <hex_digit>:
  39. 6000f0: 48 83 f8 30 cmp $0x30,%rax
  40. 6000f4: 7c 0b jl 600101 <hex_digit.next1>
  41. 6000f6: 48 83 f8 39 cmp $0x39,%rax
  42. 6000fa: 7f 05 jg 600101 <hex_digit.next1>
  43. 6000fc: 48 83 e8 30 sub $0x30,%rax
  44. 600100: c3 retq
  45. 0000000000600101 <hex_digit.next1>:
  46. 600101: 48 83 f8 61 cmp $0x61,%rax
  47. 600105: 7c 0b jl 600112 <hex_digit.next2>
  48. 600107: 48 83 f8 66 cmp $0x66,%rax
  49. 60010b: 7f 05 jg 600112 <hex_digit.next2>
  50. 60010d: 48 83 e8 57 sub $0x57,%rax
  51. 600111: c3 retq
  52. 0000000000600112 <hex_digit.next2>:
  53. 600112: 48 83 f8 41 cmp $0x41,%rax
  54. 600116: 7c 0b jl 600123 <die>
  55. 600118: 48 83 f8 46 cmp $0x46,%rax
  56. 60011c: 7f 05 jg 600123 <die>
  57. 60011e: 48 83 e8 37 sub $0x37,%rax
  58. 600122: c3 retq
  59. 0000000000600123 <die>:
  60. 600123: 48 c7 c0 3c 00 00 00 mov $0x3c,%rax
  61. 60012a: 48 c7 c7 01 00 00 00 mov $0x1,%rdi
  62. 600131: 0f 05 syscall
  63. 0000000000600133 <getchar>:
  64. 600133: 48 c7 c0 00 00 00 00 mov $0x0,%rax
  65. 60013a: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
  66. 600141: 48 8d 34 25 98 01 60 lea 0x600198,%rsi
  67. 600148: 00
  68. 600149: 48 c7 c2 01 00 00 00 mov $0x1,%rdx
  69. 600150: 0f 05 syscall
  70. 600152: 48 83 f8 01 cmp $0x1,%rax
  71. 600156: 75 0f jne 600167 <getchar.getchar_fail>
  72. 600158: 48 c7 c0 00 00 00 00 mov $0x0,%rax
  73. 60015f: 8a 04 25 98 01 60 00 mov 0x600198,%al
  74. 600166: c3 retq
  75. 0000000000600167 <getchar.getchar_fail>:
  76. 600167: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
  77. 60016e: c3 retq
  78. 000000000060016f <putchar>:
  79. 60016f: 88 04 25 98 01 60 00 mov %al,0x600198
  80. 600176: 48 c7 c0 01 00 00 00 mov $0x1,%rax
  81. 60017d: 48 c7 c7 01 00 00 00 mov $0x1,%rdi
  82. 600184: 48 8d 34 25 98 01 60 lea 0x600198,%rsi
  83. 60018b: 00
  84. 60018c: 48 c7 c2 01 00 00 00 mov $0x1,%rdx
  85. 600193: 0f 05 syscall
  86. 600195: c3 retq
  87. Disassembly of section .bss:
  88. 0000000000600198 <buf>:
  89. ...
  90. 00000000006001a0 <oct>:
  91. ...
  92. Disassembly of section .debug_aranges:
  93. 0000000000000000 <.debug_aranges>:
  94. 0: 2c 00 sub $0x0,%al
  95. 2: 00 00 add %al,(%rax)
  96. 4: 02 00 add (%rax),%al
  97. 6: 00 00 add %al,(%rax)
  98. 8: 00 00 add %al,(%rax)
  99. a: 08 00 or %al,(%rax)
  100. c: 00 00 add %al,(%rax)
  101. e: 00 00 add %al,(%rax)
  102. 10: 80 00 40 addb $0x40,(%rax)
  103. ...
  104. Disassembly of section .debug_info:
  105. 0000000000000000 <.debug_info>:
  106. 0: 5e pop %rsi
  107. 1: 00 00 add %al,(%rax)
  108. 3: 00 02 add %al,(%rdx)
  109. 5: 00 00 add %al,(%rax)
  110. 7: 00 00 add %al,(%rax)
  111. 9: 00 08 add %cl,(%rax)
  112. b: 01 00 add %eax,(%rax)
  113. d: 00 00 add %al,(%rax)
  114. f: 00 80 00 40 00 00 add %al,0x4000(%rax)
  115. 15: 00 00 add %al,(%rax)
  116. 17: 00 80 00 40 00 00 add %al,0x4000(%rax)
  117. 1d: 00 00 add %al,(%rax)
  118. 1f: 00 68 65 add %ch,0x65(%rax)
  119. 22: 78 30 js 54 <_start-0x600024>
  120. 24: 67 6c insb (%dx),%es:(%edi)
  121. 26: 6f outsl %ds:(%rsi),(%dx)
  122. 27: 2e 61 cs (bad)
  123. 29: 73 6d jae 98 <_start-0x5fffe0>
  124. 2b: 00 2f add %ch,(%rdi)
  125. 2d: 68 6f 6d 65 2f pushq $0x2f656d6f
  126. 32: 69 76 79 2f 43 6f 64 imul $0x646f432f,0x79(%rsi),%esi
  127. 39: 65 2f gs (bad)
  128. 3b: 67 75 69 addr32 jne a7 <_start-0x5fffd1>
  129. 3e: 78 2d js 6d <_start-0x60000b>
  130. 40: 62 (bad)
  131. 41: 6f outsl %ds:(%rsi),(%dx)
  132. 42: 6f outsl %ds:(%rsi),(%dx)
  133. 43: 74 73 je b8 <_start-0x5fffc0>
  134. 45: 74 72 je b9 <_start-0x5fffbf>
  135. 47: 61 (bad)
  136. 48: 70 2f jo 79 <_start-0x5fffff>
  137. 4a: 68 65 78 38 36 pushq $0x36387865
  138. 4f: 2f (bad)
  139. 50: 61 (bad)
  140. 51: 73 6d jae c0 <_start-0x5fffb8>
  141. 53: 2f (bad)
  142. 54: 00 79 61 add %bh,0x61(%rcx)
  143. 57: 73 6d jae c6 <_start-0x5fffb2>
  144. 59: 20 31 and %dh,(%rcx)
  145. 5b: 2e 33 2e xor %cs:(%rsi),%ebp
  146. 5e: 30 00 xor %al,(%rax)
  147. 60: 01 .byte 0x1
  148. 61: 80 .byte 0x80
  149. Disassembly of section .debug_abbrev:
  150. 0000000000000000 <.debug_abbrev>:
  151. 0: 01 11 add %edx,(%rcx)
  152. 2: 00 10 add %dl,(%rax)
  153. 4: 06 (bad)
  154. 5: 11 01 adc %eax,(%rcx)
  155. 7: 12 01 adc (%rcx),%al
  156. 9: 03 08 add (%rax),%ecx
  157. b: 1b 08 sbb (%rax),%ecx
  158. d: 25 08 13 05 00 and $0x51308,%eax
  159. ...
  160. Disassembly of section .debug_line:
  161. 0000000000000000 <.debug_line>:
  162. 0: 2b 00 sub (%rax),%eax
  163. 2: 00 00 add %al,(%rax)
  164. 4: 02 00 add (%rax),%al
  165. 6: 22 00 and (%rax),%al
  166. 8: 00 00 add %al,(%rax)
  167. a: 01 01 add %eax,(%rcx)
  168. c: fb sti
  169. d: 0e (bad)
  170. e: 0d 00 01 01 01 or $0x1010100,%eax
  171. 13: 01 00 add %eax,(%rax)
  172. 15: 00 00 add %al,(%rax)
  173. 17: 01 00 add %eax,(%rax)
  174. 19: 00 01 add %al,(%rcx)
  175. 1b: 00 68 65 add %ch,0x65(%rax)
  176. 1e: 78 30 js 50 <_start-0x600028>
  177. 20: 67 6c insb (%dx),%es:(%edi)
  178. 22: 6f outsl %ds:(%rsi),(%dx)
  179. 23: 2e 61 cs (bad)
  180. 25: 73 6d jae 94 <_start-0x5fffe4>
  181. 27: 00 00 add %al,(%rax)
  182. 29: 00 00 add %al,(%rax)
  183. 2b: 00 00 add %al,(%rax)
  184. 2d: 01 01 add %eax,(%rcx)