wasm-validate —
validate a file in the WebAssembly binary format
wasm-validate |
[options] file |
wasm-validate reads a file in the WebAssembly binary
format and validates it.
The options are as follows:
-v,
--verbose
- Use multiple times for more info
--help
- Print this help message
--enable-exceptions
- Enable Experimental exception handling
--disable-mutable-globals
- Disable Import/export mutable globals
--enable-saturating-float-to-int
- Enable Saturating float-to-int operators
--enable-sign-extension
- Enable Sign-extension operators
--disable-simd
- Disable SIMD support
--enable-threads
- Enable Threading support
--enable-multi-value
- Enable Multi-value
--enable-tail-call
- Enable Tail-call support
--no-debug-names
- Ignore debug names in the binary file
--ignore-custom-section-errors
- Ignore errors in custom sections
Validate binary file test.wasm
$ wasm-validate
test.wasm