You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
337 B

Wmemcheck provides debug output for invalid mallocs, reads, and writes.
How to use:
1. When building Wasmtime, add the CLI flag "--features wmemcheck" to compile with wmemcheck configured.
> cargo build --features wmemcheck
2. When running your wasm module, add the CLI flag "--wmemcheck".
> wasmtime run --wmemcheck test.wasm