forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shared_add_to_table.wasm.out
126 lines (126 loc) · 3.12 KB
/
shared_add_to_table.wasm.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
(module
(type $none_=>_i32 (func (result i32)))
(type $none_=>_none (func))
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(import "env" "memory" (memory $mimport$0 0))
(data (global.get $gimport$3) "*\00\00\00")
(import "env" "table" (table $timport$1 0 funcref))
(import "env" "__memory_base" (global $gimport$3 i32))
(import "env" "__table_base" (global $gimport$4 i32))
(import "env" "_Z16waka_func_theirsi" (func $waka_func_theirs\28int\29 (param i32) (result i32)))
(import "env" "g$waka_mine" (func $g$waka_mine (result i32)))
(import "env" "g$waka_others" (func $g$waka_others (result i32)))
(import "env" "fp$_Z16waka_func_theirsi$ii" (func $fp$_Z16waka_func_theirsi$ii (result i32)))
(import "env" "fp$_Z14waka_func_minei$ii" (func $fp$_Z14waka_func_minei$ii (result i32)))
(global $gimport$6 (mut i32) (i32.const 0))
(global $gimport$7 (mut i32) (i32.const 0))
(global $gimport$8 (mut i32) (i32.const 0))
(global $gimport$9 (mut i32) (i32.const 0))
(global $global$0 i32 (i32.const 0))
(global $global$1 i32 (i32.const 0))
(export "__wasm_apply_relocs" (func $__wasm_apply_relocs))
(export "_Z14waka_func_minei" (func $waka_func_mine\28int\29))
(export "__original_main" (func $__original_main))
(export "waka_mine" (global $global$0))
(export "main" (func $main))
(export "__dso_handle" (global $global$1))
(export "__post_instantiate" (func $__post_instantiate))
(func $__wasm_call_ctors
(call $__wasm_apply_relocs)
)
(func $__wasm_apply_relocs
)
(func $waka_func_mine\28int\29 (param $0 i32) (result i32)
(i32.add
(local.get $0)
(i32.const 1)
)
)
(func $__original_main (result i32)
(local $0 i32)
(local $1 i32)
(local.set $0
(global.get $gimport$6)
)
(local.set $1
(global.get $gimport$7)
)
(i32.add
(i32.add
(i32.load
(global.get $gimport$8)
)
(i32.add
(local.get $1)
(local.get $0)
)
)
(i32.load
(global.get $gimport$9)
)
)
)
(func $main (param $0 i32) (param $1 i32) (result i32)
(call $__original_main)
)
(func $__assign_got_enties
(global.set $gimport$8
(call $g$waka_mine)
)
(global.set $gimport$9
(call $g$waka_others)
)
(global.set $gimport$6
(call $fp$_Z16waka_func_theirsi$ii)
)
(global.set $gimport$7
(call $fp$_Z14waka_func_minei$ii)
)
)
(func $__post_instantiate
(call $__assign_got_enties)
(call $__wasm_call_ctors)
)
;; dylink section
;; memorysize: 4
;; memoryalignment: 2
;; tablesize: 0
;; tablealignment: 0
;; custom section "producers", size 157
)
(;
--BEGIN METADATA --
{
"staticBump": 0,
"tableSize": 0,
"declares": [
"_Z16waka_func_theirsi",
"g$waka_mine",
"g$waka_others",
"fp$_Z16waka_func_theirsi$ii",
"fp$_Z14waka_func_minei$ii"
],
"externs": [
"___memory_base",
"___table_base"
],
"exports": [
"__wasm_apply_relocs",
"_Z14waka_func_minei",
"__original_main",
"main",
"__post_instantiate"
],
"namedGlobals": {
"waka_mine" : "0",
"__dso_handle" : "0"
},
"invokeFuncs": [
],
"mainReadsParams": 0,
"features": [
]
}
-- END METADATA --
;)