[fuzzing] Enable instantiation (#3958)

- Increase input seed size for wasm-tools to generate larger WebAssembly modules
- Add instantiation in wasm mutator fuzz tests
This commit is contained in:
liang.he
2024-12-19 16:51:20 +08:00
committed by GitHub
parent 8d51a3c7a8
commit f8f37c8ebb
3 changed files with 46 additions and 35 deletions

View File

@ -19,6 +19,7 @@ $ wasm-tools help
mkdir build && cd build
# Without custom mutator (libfuzzer modify the buffer randomly)
cmake ..
# TODO: TBC. `wasm-tools mutate` is not supported yet
# With custom mutator (wasm-tools mutate)
cmake .. -DCUSTOM_MUTATOR=1
make -j$(nproc)