Advertisement
geajack

Untitled

May 3rd, 2021
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.54 KB | None | 0 0
  1.  
  2. main: file format elf64-x86-64
  3.  
  4.  
  5. Disassembly of section .init:
  6.  
  7. 0000000000001000 <_init>:
  8. 1000: f3 0f 1e fa endbr64
  9. 1004: 48 83 ec 08 sub $0x8,%rsp
  10. 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__>
  11. 100f: 48 85 c0 test %rax,%rax
  12. 1012: 74 02 je 1016 <_init+0x16>
  13. 1014: ff d0 callq *%rax
  14. 1016: 48 83 c4 08 add $0x8,%rsp
  15. 101a: c3 retq
  16.  
  17. Disassembly of section .plt:
  18.  
  19. 0000000000001020 <.plt>:
  20. 1020: ff 35 a2 2f 00 00 pushq 0x2fa2(%rip) # 3fc8 <_GLOBAL_OFFSET_TABLE_+0x8>
  21. 1026: f2 ff 25 a3 2f 00 00 bnd jmpq *0x2fa3(%rip) # 3fd0 <_GLOBAL_OFFSET_TABLE_+0x10>
  22. 102d: 0f 1f 00 nopl (%rax)
  23.  
  24. Disassembly of section .plt.got:
  25.  
  26. 0000000000001030 <__cxa_finalize@plt>:
  27. 1030: f3 0f 1e fa endbr64
  28. 1034: f2 ff 25 bd 2f 00 00 bnd jmpq *0x2fbd(%rip) # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
  29. 103b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
  30.  
  31. Disassembly of section .text:
  32.  
  33. 0000000000001040 <_start>:
  34. 1040: f3 0f 1e fa endbr64
  35. 1044: 31 ed xor %ebp,%ebp
  36. 1046: 49 89 d1 mov %rdx,%r9
  37. 1049: 5e pop %rsi
  38. 104a: 48 89 e2 mov %rsp,%rdx
  39. 104d: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp
  40. 1051: 50 push %rax
  41. 1052: 54 push %rsp
  42. 1053: 4c 8d 05 66 01 00 00 lea 0x166(%rip),%r8 # 11c0 <__libc_csu_fini>
  43. 105a: 48 8d 0d ef 00 00 00 lea 0xef(%rip),%rcx # 1150 <__libc_csu_init>
  44. 1061: 48 8d 3d c1 00 00 00 lea 0xc1(%rip),%rdi # 1129 <main>
  45. 1068: ff 15 72 2f 00 00 callq *0x2f72(%rip) # 3fe0 <__libc_start_main@GLIBC_2.2.5>
  46. 106e: f4 hlt
  47. 106f: 90 nop
  48.  
  49. 0000000000001070 <deregister_tm_clones>:
  50. 1070: 48 8d 3d 99 2f 00 00 lea 0x2f99(%rip),%rdi # 4010 <__TMC_END__>
  51. 1077: 48 8d 05 92 2f 00 00 lea 0x2f92(%rip),%rax # 4010 <__TMC_END__>
  52. 107e: 48 39 f8 cmp %rdi,%rax
  53. 1081: 74 15 je 1098 <deregister_tm_clones+0x28>
  54. 1083: 48 8b 05 4e 2f 00 00 mov 0x2f4e(%rip),%rax # 3fd8 <_ITM_deregisterTMCloneTable>
  55. 108a: 48 85 c0 test %rax,%rax
  56. 108d: 74 09 je 1098 <deregister_tm_clones+0x28>
  57. 108f: ff e0 jmpq *%rax
  58. 1091: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
  59. 1098: c3 retq
  60. 1099: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
  61.  
  62. 00000000000010a0 <register_tm_clones>:
  63. 10a0: 48 8d 3d 69 2f 00 00 lea 0x2f69(%rip),%rdi # 4010 <__TMC_END__>
  64. 10a7: 48 8d 35 62 2f 00 00 lea 0x2f62(%rip),%rsi # 4010 <__TMC_END__>
  65. 10ae: 48 29 fe sub %rdi,%rsi
  66. 10b1: 48 89 f0 mov %rsi,%rax
  67. 10b4: 48 c1 ee 3f shr $0x3f,%rsi
  68. 10b8: 48 c1 f8 03 sar $0x3,%rax
  69. 10bc: 48 01 c6 add %rax,%rsi
  70. 10bf: 48 d1 fe sar %rsi
  71. 10c2: 74 14 je 10d8 <register_tm_clones+0x38>
  72. 10c4: 48 8b 05 25 2f 00 00 mov 0x2f25(%rip),%rax # 3ff0 <_ITM_registerTMCloneTable>
  73. 10cb: 48 85 c0 test %rax,%rax
  74. 10ce: 74 08 je 10d8 <register_tm_clones+0x38>
  75. 10d0: ff e0 jmpq *%rax
  76. 10d2: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
  77. 10d8: c3 retq
  78. 10d9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
  79.  
  80. 00000000000010e0 <__do_global_dtors_aux>:
  81. 10e0: f3 0f 1e fa endbr64
  82. 10e4: 80 3d 25 2f 00 00 00 cmpb $0x0,0x2f25(%rip) # 4010 <__TMC_END__>
  83. 10eb: 75 2b jne 1118 <__do_global_dtors_aux+0x38>
  84. 10ed: 55 push %rbp
  85. 10ee: 48 83 3d 02 2f 00 00 cmpq $0x0,0x2f02(%rip) # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
  86. 10f5: 00
  87. 10f6: 48 89 e5 mov %rsp,%rbp
  88. 10f9: 74 0c je 1107 <__do_global_dtors_aux+0x27>
  89. 10fb: 48 8b 3d 06 2f 00 00 mov 0x2f06(%rip),%rdi # 4008 <__dso_handle>
  90. 1102: e8 29 ff ff ff callq 1030 <__cxa_finalize@plt>
  91. 1107: e8 64 ff ff ff callq 1070 <deregister_tm_clones>
  92. 110c: c6 05 fd 2e 00 00 01 movb $0x1,0x2efd(%rip) # 4010 <__TMC_END__>
  93. 1113: 5d pop %rbp
  94. 1114: c3 retq
  95. 1115: 0f 1f 00 nopl (%rax)
  96. 1118: c3 retq
  97. 1119: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
  98.  
  99. 0000000000001120 <frame_dummy>:
  100. 1120: f3 0f 1e fa endbr64
  101. 1124: e9 77 ff ff ff jmpq 10a0 <register_tm_clones>
  102.  
  103. 0000000000001129 <main>:
  104. 1129: f3 0f 1e fa endbr64
  105. 112d: 55 push %rbp
  106. 112e: 48 89 e5 mov %rsp,%rbp
  107. 1131: c7 45 f8 02 00 00 00 movl $0x2,-0x8(%rbp)
  108. 1138: c7 45 fc 03 00 00 00 movl $0x3,-0x4(%rbp)
  109. 113f: b8 05 00 00 00 mov $0x5,%eax
  110. 1144: 5d pop %rbp
  111. 1145: c3 retq
  112. 1146: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
  113. 114d: 00 00 00
  114.  
  115. 0000000000001150 <__libc_csu_init>:
  116. 1150: f3 0f 1e fa endbr64
  117. 1154: 41 57 push %r15
  118. 1156: 4c 8d 3d 93 2c 00 00 lea 0x2c93(%rip),%r15 # 3df0 <__frame_dummy_init_array_entry>
  119. 115d: 41 56 push %r14
  120. 115f: 49 89 d6 mov %rdx,%r14
  121. 1162: 41 55 push %r13
  122. 1164: 49 89 f5 mov %rsi,%r13
  123. 1167: 41 54 push %r12
  124. 1169: 41 89 fc mov %edi,%r12d
  125. 116c: 55 push %rbp
  126. 116d: 48 8d 2d 84 2c 00 00 lea 0x2c84(%rip),%rbp # 3df8 <__do_global_dtors_aux_fini_array_entry>
  127. 1174: 53 push %rbx
  128. 1175: 4c 29 fd sub %r15,%rbp
  129. 1178: 48 83 ec 08 sub $0x8,%rsp
  130. 117c: e8 7f fe ff ff callq 1000 <_init>
  131. 1181: 48 c1 fd 03 sar $0x3,%rbp
  132. 1185: 74 1f je 11a6 <__libc_csu_init+0x56>
  133. 1187: 31 db xor %ebx,%ebx
  134. 1189: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
  135. 1190: 4c 89 f2 mov %r14,%rdx
  136. 1193: 4c 89 ee mov %r13,%rsi
  137. 1196: 44 89 e7 mov %r12d,%edi
  138. 1199: 41 ff 14 df callq *(%r15,%rbx,8)
  139. 119d: 48 83 c3 01 add $0x1,%rbx
  140. 11a1: 48 39 dd cmp %rbx,%rbp
  141. 11a4: 75 ea jne 1190 <__libc_csu_init+0x40>
  142. 11a6: 48 83 c4 08 add $0x8,%rsp
  143. 11aa: 5b pop %rbx
  144. 11ab: 5d pop %rbp
  145. 11ac: 41 5c pop %r12
  146. 11ae: 41 5d pop %r13
  147. 11b0: 41 5e pop %r14
  148. 11b2: 41 5f pop %r15
  149. 11b4: c3 retq
  150. 11b5: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
  151. 11bc: 00 00 00 00
  152.  
  153. 00000000000011c0 <__libc_csu_fini>:
  154. 11c0: f3 0f 1e fa endbr64
  155. 11c4: c3 retq
  156.  
  157. Disassembly of section .fini:
  158.  
  159. 00000000000011c8 <_fini>:
  160. 11c8: f3 0f 1e fa endbr64
  161. 11cc: 48 83 ec 08 sub $0x8,%rsp
  162. 11d0: 48 83 c4 08 add $0x8,%rsp
  163. 11d4: c3 retq
  164.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement