From d3c6a803167b0df1b06483ce5400c9ac4682ee1d Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Wed, 8 Aug 2018 16:01:57 +0430 Subject: update --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README.md b/README.md index 6b60e83..42084b8 100644 --- a/README.md +++ b/README.md @@ -1 +1,37 @@ # dwasm +dwasm is a WASM dump tool.
+ +## Requirements +dwasm is self-contained.
+ +## Options +For a list of available options, just run `dwasm -h`. Here's a copy of what you'll get:
+ +```bash + -h, --help show this help message and exit + --wast WAST path to the wasm text file + --wasm WASM [WASM ...] + path to the wasm object file + --asb ASB path to the wast file to assemble + --dis DIS path to the wasm file to disassemble + -o O the path to the output file + --dbg print debug info + --unval skips validation tests + --memdump MEMDUMP dumps the linear memory + --idxspc print index space data + --run runs the start function + --metric print metrics + --gas print gas usage + --entry ENTRY name of the function that will act as the entry point + into execution + --link LINK [LINK ...] + link the following wasm modules + --sectiondump SECTIONDUMP + dumps the section provided + --hexdump HEXDUMP dumps all sections + --dbgsection DBGSECTION + dumps the parsed section provided + --interactive open in cli mode + --rawdump RAWDUMP RAWDUMP + dumps all sections +``` -- cgit v1.2.3