• 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...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...