mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-14 15:41:02 +00:00
4713aa760f
* Update wasmparser requirement from 0.82 to 0.84 Updates the requirements on [wasmparser](https://github.com/bytecodealliance/wasm-tools) to permit the latest version. - [Release notes](https://github.com/bytecodealliance/wasm-tools/releases) - [Commits](https://github.com/bytecodealliance/wasm-tools/compare/wasmparser-0.82.0...wasmparser-0.84.0) --- updated-dependencies: - dependency-name: wasmparser dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Adapt tests to new wasmparser Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexander Theißen <alex.theissen@me.com>
20 lines
487 B
WebAssembly Text Format
20 lines
487 B
WebAssembly Text Format
(module
|
|
(type (;0;) (func (param i32 i32)))
|
|
(type (;1;) (func))
|
|
(type (;2;) (func (param i32)))
|
|
(import "env" "ext_return" (func $ext_return (type 0)))
|
|
(import "env" "memory" (memory (;0;) 1 1))
|
|
(import "env" "gas" (func $start (type 2)))
|
|
(func (;2;) (type 1)
|
|
i32.const 4
|
|
call $start
|
|
i32.const 8
|
|
i32.const 4
|
|
call $ext_return
|
|
unreachable
|
|
)
|
|
(func (;3;) (type 1))
|
|
(export "call" (func 3))
|
|
(start 2)
|
|
(data (;0;) (i32.const 8) "\01\02\03\04")
|
|
) |