blob: 867f2ad1387c6f9df07ea66448301e41acbd0c4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
(module
(type $0 (func (result i32)))
(type $1 (func (param i32 i32) (result i32)))
(global $global$0 (mut i32) (i32.const 66112))
(global $global$1 i32 (i32.const 66112))
(global $global$2 i32 (i32.const 576))
(memory $0 2)
(table $0 1 1 funcref)
(elem $0 (i32.const 0) $foo)
(export "memory" (memory $0))
(export "main" (func $main))
(export "__heap_base" (global $global$1))
(export "__data_end" (global $global$2))
(func $__original_main (result i32)
(i32.const 0)
)
(func $main (param $0 i32) (param $1 i32) (result i32)
(call $__original_main)
)
(func $foo (result i32)
(i32.const 0)
)
)
|