Stream: git-wasmtime

Topic: wasmtime / PR #2617 Add knobs to limit memories/tables in...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 28 2021 at 16:48):

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 and max_memories
functions to sit alongside the max_instances configuration.
Additionally fuzzing now by default configures all of these to a
somewhat low value to avoid too much resource usage while fuzzing.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 28 2021 at 18:20):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 28 2021 at 18:20):

fitzgen merged PR #2617.


Last updated: Oct 23 2024 at 20:03 UTC