aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-08-08 11:31:57 +0000
committerbloodstalker <thabogre@gmail.com>2018-08-08 11:31:57 +0000
commitd3c6a803167b0df1b06483ce5400c9ac4682ee1d (patch)
tree78d61a6aa6d55eadb76205607020f2a0a47be45c
parentupdate (diff)
downloaddwasm-d3c6a803167b0df1b06483ce5400c9ac4682ee1d.tar.gz
dwasm-d3c6a803167b0df1b06483ce5400c9ac4682ee1d.zip
update
-rw-r--r--README.md36
1 files changed, 36 insertions, 0 deletions
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.<br/>
+
+## Requirements
+dwasm is self-contained.<br/>
+
+## Options
+For a list of available options, just run `dwasm -h`. Here's a copy of what you'll get:<br/>
+
+```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
+```