NK
Size: a a a
NK
NK
NK
lp
wasm2wat /Users/pepyakin/Downloads/test\ \(1\).wasm
(module
(type (;0;) (func))
(type (;1;) (func (param i32)))
(import "env" "__linear_memory" (memory (;0;) 1))
(import "env" "__indirect_function_table" (table (;0;) 0 anyfunc))
(import "env" "imported_func" (func (;0;) (type 1)))
(func (;1;) (type 0)
i32.const 0
call 0)
(data (i32.const 0) "Hello from Zig programming language\00"))
NK
lp
NK
NK
LinkError: "import object field '__stack_pointer' is not a Number" localhost:8000:12:16
lp
(module
(type (;0;) (func (param i32)))
(type (;1;) (func (param i32 i32)))
(type (;2;) (func))
(import "env" "__stack_pointer" (global (;0;) (mut i32)))
(import "env" "imported_func" (func $imported_func (type 0)))
(func $panic (type 1) (param i32 i32)
(local i32 i32 i32)
get_global 0
set_local 2
i32.const 16
set_local 3
get_local 2
get_local 3
i32.sub
set_local 4
get_local 4
get_local 1
i32.store offset=12
loop ;; label = @1
br 0 (;@1;)
end)
(func $exportedf (type 2)
(local i32)
i32.const 8
set_local 0
get_local 0
call $imported_func
return)
(table (;0;) 1 1 anyfunc)
(memory (;0;) 1)
(data (i32.const 0) "\00")
(data (i32.const 4) "\08\00\00\00")
(data (i32.const 😍 "Hello from Zig programming language\00"))
lp
lp
NK
NK
NK
NK
NK
NK
AF
で