Guest User

Untitled

a guest
Oct 22nd, 2021
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.11 KB | None | 0 0
  1. .\emit.elf: file format elf64-x86-64
  2.  
  3. .debug_info contents:
  4. 0x00000000: Compile Unit: length = 0x000000db, format = DWARF32, version = 0x0004, abbr_offset = 0x0000, addr_size = 0x08 (next unit at 0x000000df)
  5.  
  6. 0x0000000b: DW_TAG_compile_unit
  7. DW_AT_ranges (0x00000000
  8. [0x0000028c9b0d119c, 0x0000028c9b0d11d4)
  9. [0x0000028c9b0d11e4, 0x0000028c9b0d127f))
  10. DW_AT_producer ("clang version 11.0.0 (https://github.com/llvm/llvm-project 176249bd6732a8044d457092ed932768724a6f06)")
  11. DW_AT_language (DW_LANG_C99)
  12. DW_AT_name ("test.c")
  13. DW_AT_stmt_list (0x00000000)
  14. DW_AT_comp_dir ("g:\\dev\\test")
  15.  
  16. 0x00000021: DW_TAG_base_type
  17. DW_AT_name ("WebAssemblyPtr")
  18. DW_AT_byte_size (0x04)
  19. DW_AT_encoding (DW_ATE_unsigned)
  20.  
  21. 0x00000028: DW_TAG_base_type
  22. DW_AT_name ("u8")
  23. DW_AT_encoding (DW_ATE_unsigned)
  24. DW_AT_byte_size (0x01)
  25.  
  26. 0x0000002f: DW_TAG_base_type
  27. DW_AT_name ("float")
  28. DW_AT_encoding (DW_ATE_float)
  29. DW_AT_byte_size (4)
  30.  
  31. 0x00000036: DW_TAG_base_type
  32. DW_AT_name ("int")
  33. DW_AT_encoding (DW_ATE_signed)
  34. DW_AT_byte_size (4)
  35.  
  36. 0x0000003d: DW_TAG_pointer_type
  37. DW_AT_name ("u8*")
  38. DW_AT_type (0x00000028 "u8")
  39.  
  40. 0x00000046: DW_TAG_structure_type
  41. DW_AT_name ("WasmtimeVMContext")
  42. DW_AT_byte_size (0x00000054)
  43.  
  44. 0x0000004f: DW_TAG_member
  45. DW_AT_name ("memory")
  46. DW_AT_type (0x0000003d "u8*")
  47. DW_AT_data_member_location (76)
  48.  
  49. 0x00000059: DW_TAG_subprogram
  50. DW_AT_linkage_name ("set_vmctx_memory")
  51. DW_AT_name ("set")
  52.  
  53. 0x00000062: DW_TAG_formal_parameter
  54. DW_AT_type (0x0000006a "WasmtimeVMContext*")
  55. DW_AT_artificial (0x01)
  56.  
  57. 0x00000068: NULL
  58.  
  59. 0x00000069: NULL
  60.  
  61. 0x0000006a: DW_TAG_pointer_type
  62. DW_AT_name ("WasmtimeVMContext*")
  63. DW_AT_type (0x00000046 "WasmtimeVMContext")
  64.  
  65. 0x00000073: DW_TAG_variable
  66. DW_AT_name ("my_global")
  67. DW_AT_external (0x01)
  68. DW_AT_decl_file ("g:\dev\test\.\test.c")
  69. DW_AT_decl_line (1)
  70. DW_AT_type (0x0000002f "float")
  71.  
  72. 0x0000007f: DW_TAG_subprogram
  73. DW_AT_low_pc (0x0000028c9b0d119c)
  74. DW_AT_high_pc (0x0000028c9b0d11d4)
  75. DW_AT_name ("my_test")
  76. DW_AT_decl_file ("g:\dev\test\.\test.c")
  77. DW_AT_decl_line (3)
  78. DW_AT_external (0x01)
  79.  
  80. 0x00000090: DW_TAG_variable
  81. DW_AT_name ("__vmctx")
  82. DW_AT_type (0x0000006a "WasmtimeVMContext*")
  83. DW_AT_location (0x00000000:
  84. (0x0000028c9b0d11ad, 0x0000028c9b0d11d4): DW_OP_reg2 RCX)
  85.  
  86. 0x0000009d: NULL
  87.  
  88. 0x0000009e: DW_TAG_subprogram
  89. DW_AT_low_pc (0x0000028c9b0d11e4)
  90. DW_AT_high_pc (0x0000028c9b0d127f)
  91. DW_AT_name ("main")
  92. DW_AT_decl_file ("g:\dev\test\.\test.c")
  93. DW_AT_decl_line (8)
  94. DW_AT_external (0x01)
  95. DW_AT_type (0x00000036 "int")
  96.  
  97. 0x000000b4: DW_TAG_variable
  98. DW_AT_name ("__vmctx")
  99. DW_AT_type (0x0000006a "WasmtimeVMContext*")
  100. DW_AT_location (0x00000023:
  101. (0x0000028c9b0d11e8, 0x0000028c9b0d127f): DW_OP_reg5 RDI)
  102.  
  103. 0x000000c1: DW_TAG_variable
  104. DW_AT_location (DW_OP_breg4 RSI+0, DW_OP_plus_uconst 0x8, DW_OP_breg5 RDI+76, DW_OP_deref, DW_OP_swap, DW_OP_const4u 0xffffffff, DW_OP_and, DW_OP_plus)
  105. DW_AT_name ("i")
  106. DW_AT_decl_file ("g:\dev\test\.\test.c")
  107. DW_AT_decl_line (9)
  108. DW_AT_type (0x00000036 "int")
  109.  
  110. 0x000000dd: NULL
  111.  
  112. 0x000000de: NULL
  113. 0x000000df: Compile Unit: length = 0x00000011, format = DWARF32, version = 0x0004, abbr_offset = 0x00af, addr_size = 0x08 (next unit at 0x000000f4)
  114.  
  115. 0x000000ea: DW_TAG_variable
  116.  
  117. 0x000000eb: DW_TAG_variable
  118. DW_AT_name ("my_global")
  119. DW_AT_external (0x01)
  120. DW_AT_decl_file (1)
  121. DW_AT_decl_line (1)
  122.  
  123. 0x000000f3: NULL
  124. 0x000000f4: Compile Unit: length = 0x000000ff, format = DWARF32, version = 0x0004, abbr_offset = 0x00c2, addr_size = 0x08 (next unit at 0x000001f7)
  125.  
  126. 0x000000ff: DW_TAG_compile_unit
  127. DW_AT_producer ("wasmtime")
  128. DW_AT_name ("<gen-0>.wasm")
  129. DW_AT_stmt_list (0x00000067)
  130. DW_AT_comp_dir ("/<wasm-module>")
  131.  
  132. 0x00000110: DW_TAG_base_type
  133. DW_AT_name ("WebAssemblyPtr")
  134. DW_AT_byte_size (0x04)
  135. DW_AT_encoding (DW_ATE_unsigned)
  136.  
  137. 0x00000117: DW_TAG_base_type
  138. DW_AT_name ("u8")
  139. DW_AT_encoding (DW_ATE_unsigned)
  140. DW_AT_byte_size (0x01)
  141.  
  142. 0x0000011e: DW_TAG_base_type
  143. DW_AT_name ("i32")
  144. DW_AT_byte_size (0x04)
  145. DW_AT_encoding (DW_ATE_signed)
  146.  
  147. 0x00000125: DW_TAG_base_type
  148. DW_AT_name ("i64")
  149. DW_AT_byte_size (0x08)
  150. DW_AT_encoding (DW_ATE_signed)
  151.  
  152. 0x0000012c: DW_TAG_base_type
  153. DW_AT_name ("f32")
  154. DW_AT_byte_size (0x04)
  155. DW_AT_encoding (DW_ATE_float)
  156.  
  157. 0x00000133: DW_TAG_base_type
  158. DW_AT_name ("f64")
  159. DW_AT_byte_size (0x08)
  160. DW_AT_encoding (DW_ATE_float)
  161.  
  162. 0x0000013a: DW_TAG_pointer_type
  163. DW_AT_name ("u8*")
  164. DW_AT_type (0x00000117 "u8")
  165.  
  166. 0x00000143: DW_TAG_structure_type
  167. DW_AT_name ("WasmtimeVMContext")
  168. DW_AT_byte_size (0x00000054)
  169.  
  170. 0x0000014c: DW_TAG_member
  171. DW_AT_name ("memory")
  172. DW_AT_type (0x0000013a "u8*")
  173. DW_AT_data_member_location (76)
  174.  
  175. 0x00000156: DW_TAG_subprogram
  176. DW_AT_linkage_name ("set_vmctx_memory")
  177. DW_AT_name ("set")
  178.  
  179. 0x0000015f: DW_TAG_formal_parameter
  180. DW_AT_type (0x00000167 "WasmtimeVMContext*")
  181. DW_AT_artificial (0x01)
  182.  
  183. 0x00000165: NULL
  184.  
  185. 0x00000166: NULL
  186.  
  187. 0x00000167: DW_TAG_pointer_type
  188. DW_AT_name ("WasmtimeVMContext*")
  189. DW_AT_type (0x00000143 "WasmtimeVMContext")
  190.  
  191. 0x00000170: DW_TAG_subprogram
  192. DW_AT_low_pc (0x0000028c9b0d1000)
  193. DW_AT_high_pc (0x0000028c9b0d1009)
  194. DW_AT_name ("__wasm_call_ctors")
  195. DW_AT_decl_file (128)
  196.  
  197. 0x00000180: DW_TAG_variable
  198. DW_AT_name ("__vmctx")
  199. DW_AT_type (0x00000167 "WasmtimeVMContext*")
  200. DW_AT_location (0x00000046:
  201. (0x0000028c9b0d1004, 0x0000028c9b0d1009): DW_OP_reg5 RDI)
  202.  
  203. 0x0000018d: NULL
  204.  
  205. 0x0000018e: DW_TAG_subprogram
  206. DW_AT_low_pc (0x0000028c9b0d1014)
  207. DW_AT_high_pc (0x0000028c9b0d115a)
  208. DW_AT_name ("_start")
  209. DW_AT_decl_file (133)
  210.  
  211. 0x0000019f: DW_TAG_variable
  212. DW_AT_name ("var0")
  213. DW_AT_type (0x0000011e "i32")
  214. DW_AT_location (0x00000069:
  215. (0x0000028c9b0d10b5, 0x0000028c9b0d112b): DW_OP_reg13 R13
  216. (0x0000028c9b0d1143, 0x0000028c9b0d1150): DW_OP_reg13 R13
  217. (0x0000028c9b0d1152, 0x0000028c9b0d1153): DW_OP_reg8 R8
  218. (0x0000028c9b0d1154, 0x0000028c9b0d115a): DW_OP_reg13 R13)
  219.  
  220. 0x000001ac: DW_TAG_variable
  221. DW_AT_name ("__vmctx")
  222. DW_AT_type (0x00000167 "WasmtimeVMContext*")
  223. DW_AT_location (0x000000c5:
  224. (0x0000028c9b0d109c, 0x0000028c9b0d109d): DW_OP_reg12 R12
  225. (0x0000028c9b0d109f, 0x0000028c9b0d10a0): DW_OP_reg5 RDI
  226. (0x0000028c9b0d10a2, 0x0000028c9b0d10a3): DW_OP_reg4 RSI
  227. (0x0000028c9b0d10a7, 0x0000028c9b0d10a8): DW_OP_reg12 R12
  228. (0x0000028c9b0d10aa, 0x0000028c9b0d10ab): DW_OP_reg5 RDI
  229. (0x0000028c9b0d10ad, 0x0000028c9b0d10ae): DW_OP_reg4 RSI
  230. (0x0000028c9b0d10b2, 0x0000028c9b0d10b6): DW_OP_reg12 R12
  231. (0x0000028c9b0d10b8, 0x0000028c9b0d10b9): DW_OP_reg5 RDI
  232. (0x0000028c9b0d10bb, 0x0000028c9b0d10bc): DW_OP_reg4 RSI
  233. (0x0000028c9b0d10c0, 0x0000028c9b0d1123): DW_OP_reg12 R12
  234. (0x0000028c9b0d1143, 0x0000028c9b0d114d): DW_OP_reg12 R12
  235. (0x0000028c9b0d114f, 0x0000028c9b0d1153): DW_OP_reg1 RDX
  236. (0x0000028c9b0d1154, 0x0000028c9b0d115a): DW_OP_reg12 R12)
  237.  
  238. 0x000001b9: NULL
  239.  
  240. 0x000001ba: DW_TAG_subprogram
  241. DW_AT_low_pc (0x0000028c9b0d1288)
  242. DW_AT_high_pc (0x0000028c9b0d1291)
  243. DW_AT_name ("dummy")
  244. DW_AT_decl_file (336)
  245.  
  246. 0x000001ca: DW_TAG_variable
  247. DW_AT_name ("__vmctx")
  248. DW_AT_type (0x00000167 "WasmtimeVMContext*")
  249. DW_AT_location (0x000001cc:
  250. (0x0000028c9b0d128c, 0x0000028c9b0d1291): DW_OP_reg5 RDI)
  251.  
  252. 0x000001d7: NULL
  253.  
  254. 0x000001d8: DW_TAG_subprogram
  255. DW_AT_low_pc (0x0000028c9b0d129c)
  256. DW_AT_high_pc (0x0000028c9b0d12df)
  257. DW_AT_name ("__prepare_for_exit")
  258. DW_AT_decl_file (339)
  259.  
  260. 0x000001e8: DW_TAG_variable
  261. DW_AT_name ("__vmctx")
  262. DW_AT_type (0x00000167 "WasmtimeVMContext*")
  263. DW_AT_location (0x000001ef:
  264. (0x0000028c9b0d12bc, 0x0000028c9b0d12d3): DW_OP_reg12 R12)
  265.  
  266. 0x000001f5: NULL
  267.  
  268. 0x000001f6: NULL
  269.  
Advertisement
Add Comment
Please, Sign In to add comment