blob: f26ca8ae8b17166ce4955696294cf560acda8314 (
plain)
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
|
(module
(type $none_=>_none (func))
(type $i32_=>_none (func (param i32)))
(import "env" "table" (table $timport$9 1 funcref))
(elem (global.get $tb) $other $stuff)
(import "env" "__stack_pointer" (global $sp (mut i32)))
(import "GOT.func" "__stdio_write" (global $gimport$9 (mut i32)))
(import "env" "__table_base" (global $tb i32))
(global $global i32 (i32.const 42))
(export "__stdio_write" (func $__stdio_write))
(export "__data_end" (global $global))
(export "dynCall_v" (func $dynCall_v))
(func $__stdio_write
(nop)
)
(func $other
(nop)
)
(func $stuff
(nop)
)
(func $dynCall_v (param $fptr i32)
(call_indirect (type $none_=>_none)
(local.get $fptr)
)
)
)
(;
--BEGIN METADATA --
{
"tableSize": 1,
"declares": [
],
"globalImports": [
"__stack_pointer",
"__stdio_write",
"__table_base"
],
"exports": [
"__stdio_write",
"dynCall_v"
],
"namedGlobals": {
"__data_end" : "42"
},
"invokeFuncs": [
],
"mainReadsParams": 0,
"features": [
]
}
-- END METADATA --
;)
|