alexcrichton opened PR #2617 from limit-tables-and-memeories
to main
:
Fuzzing has turned up that module linking can create large amounts of
tables and memories in addition to instances. For example if N instances
are allowed and M tables are allowed per-instance, then currently
wasmtime allows MxN tables (which is quite a lot). This is causing some
wasm-smith-generated modules to exceed resource limits while fuzzing!This commits adds corresponding
max_tables
andmax_memories
functions to sit alongside themax_instances
configuration.
Additionally fuzzing now by default configures all of these to a
somewhat low value to avoid too much resource usage while fuzzing.
fitzgen submitted PR Review.
fitzgen merged PR #2617.
Last updated: Nov 22 2024 at 16:03 UTC