blob: a51d389b00fe1f2880899a4f6fc5cf67d2a0fa39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
(module
(type $0 (func))
(import "import" "import" (func $import (type $0)))
(global $sp (mut i32) (i32.const 104))
(memory $0 256 256)
(data $0 (i32.const 10) "__s______________")
(export "test1" (func $test1_2))
(func $test1_2 (type $0)
(local $0 i32)
(local.set $0
(i32.const 100)
)
(call $import)
(i32.store8
(i32.const 13)
(i32.const 115)
)
(global.set $sp
(local.get $0)
)
)
)
|