• Ben Smith's avatar
    [wasm][bulk-memory] Check segment bounds lazily · 34c8443c
    Ben Smith authored
    The bulk memory proposal changed behavior of segment initialization
    during instantiation. Previously, all segments would be bounds-checked,
    after which the segments would be initialized.
    
    The bulk memory proposal removes the up-front check, and always
    initializes active segments in order, starting with element segments and
    then continuing with data segments. Each active segment is initialized
    as-if they were being initialized with the `memory.init` and
    `table.init` instructions, so an out-of-bounds initialization may still
    modify the memory or table partially.
    
    Bug: v8:8892
    Change-Id: I472fca2401e07d60b288f0cc745629a451b31088
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1565033
    Commit-Queue: Ben Smith <binji@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60885}
    34c8443c
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...