Files
wasmtime/crates
Alex Crichton f425eb7ea5 Limit total memory usage in instantiate-many fuzzer (#3823)
Per-`Store` allocations are already limited with the `StoreLimits`
structure while fuzzing to ensure fuzz targets don't allocate more than
1GB of memory, but the `instantiate-many` fuzzer created many separate
stores which each had their own limit, meaning that the 2GB limit of
fuzzing could be pretty easily reached.

This commit fixes the issue by making `StoreLimits` a shareable type via
`Rc` to ensure the same limits can be applied to all stores created
within a fuzz run, globally limiting the memory even across stores to 1GB.
2022-02-17 10:26:23 -08:00
..
2022-02-07 19:16:26 -06:00
2022-02-07 19:16:26 -06:00
2022-02-07 19:16:26 -06:00
2022-02-07 19:16:26 -06:00
2022-02-07 19:16:26 -06:00
2022-02-07 19:16:26 -06:00
2022-02-07 19:16:26 -06:00