mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-04-28 17:58:00 +00:00
19 lines
285 B
WebAssembly Text Format
19 lines
285 B
WebAssembly Text Format
(module
|
|
(import "env" "ext_return" (func $ext_return (param i32 i32)))
|
|
(import "env" "memory" (memory 1 1))
|
|
|
|
(start $start)
|
|
(func $start
|
|
(call $ext_return
|
|
(i32.const 8)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
|
|
(func (export "call")
|
|
)
|
|
|
|
(data (i32.const 8) "\01\02\03\04")
|
|
)
|