diff options
author | Raphael Amorim <rapha850@gmail.com> | 2023-03-19 19:48:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 18:48:40 +0000 |
commit | aef2cccd52103a71d669dbdfcd6f12bdb7375410 (patch) | |
tree | c3771cb756241a7cb249098ce86bcbfdffc94f08 /test/help/wasm-interp.txt | |
parent | 090d4674c86b00e31d18e77f2c8f8570a68e1cf1 (diff) | |
download | wabt-aef2cccd52103a71d669dbdfcd6f12bdb7375410.tar.gz wabt-aef2cccd52103a71d669dbdfcd6f12bdb7375410.tar.bz2 wabt-aef2cccd52103a71d669dbdfcd6f12bdb7375410.zip |
wasm-interp: Add --run-export and --argument (#2176)
Diffstat (limited to 'test/help/wasm-interp.txt')
-rw-r--r-- | test/help/wasm-interp.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/help/wasm-interp.txt b/test/help/wasm-interp.txt index 9a6eb811..f0199d0a 100644 --- a/test/help/wasm-interp.txt +++ b/test/help/wasm-interp.txt @@ -20,6 +20,9 @@ examples: # value stack size to 100 elements $ wasm-interp test.wasm -V 100 --run-all-exports + # parse test.wasm, run specific exported function by name with argument + $ wasm-interp test.wasm -r "func_sum" -a "i32:8" -a "i32:5" + options: --help Print this help message --version Print version information @@ -46,6 +49,8 @@ options: -V, --value-stack-size=SIZE Size in elements of the value stack -C, --call-stack-size=SIZE Size in elements of the call stack -t, --trace Trace execution + -r, --run-export=FUNCTION Run exported function by name + -a, --argument=ARGUMENT Add argument to an exported function execution --wasi Assume input module is WASI compliant (Export WASI API the the module and invoke _start function) -e, --env=ENV Pass the given environment string in the WASI runtime -d, --dir=DIR Pass the given directory the the WASI runtime |