blob: 27f661c30911e6658c481e8afe8d54fca200afab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
(module
(type $v (func))
(type $FUNCSIG$v (func))
(import "env" "tableBase" (global $tableBase i32))
(import "env" "_abort" (func $_abort))
(table 2 2 anyfunc)
(elem (get_global $tableBase) $_abort $call-indirect)
(memory $0 256 256)
(data (i32.const 10) "waka waka xaka waka waka\00\00\00\00\00\00C")
(export "test1" (func $test1))
(func $test1 (type $v)
(nop)
)
(func $call-indirect (type $v)
(i32.store8
(i32.const 40)
(i32.const 67)
)
)
)
|