Stream: git-wasmtime

Topic: wasmtime / PR #9483 Don't bounds-check the struct-ref res...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 17 2024 at 16:48):

fitzgen opened PR #9483 from fitzgen:dont-bounds-check-results-of-struct-alloc-libcall to bytecodealliance:main:

It is unnecessary for Wasm code to do this bounds check because the libcall is trusted. We already avoided it for arrays, but forgot to do structs as well.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Oct 17 2024 at 16:48):

fitzgen requested wasmtime-core-reviewers for a review on PR #9483.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 17 2024 at 16:48):

fitzgen requested elliottt for a review on PR #9483.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 17 2024 at 17:08):

elliottt submitted PR review:

Nice!

view this post on Zulip Wasmtime GitHub notifications bot (Oct 17 2024 at 17:36):

fitzgen merged PR #9483.


Last updated: Nov 22 2024 at 17:03 UTC