• Andreas Haas's avatar
    Reland [wasm] Stop decoding operands after error. · ca199ef8
    Andreas Haas authored
    The problem was that parts of Simd8x16ShuffleOperand were uninitialized.
    
    Original message:
    
    [wasm] Stop decoding operands after error.
    
    When we decode operands of WebAssembly instructions, we do not use the
    current pc but a pc of the instruction plus some offset. However, the
    pc of the instruction + offset can become invalid in case of a decoder
    error. Therefore we have to stop decoding operands explicitly in case
    of an error.
    
    R=clemensh@chromium.org
    
    Bug: chromium:795131
    Change-Id: I732bc23547dbe531019d81a4397d22165a26d46b
    Reviewed-on: https://chromium-review.googlesource.com/833934Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50211}
    ca199ef8
Name
Last commit
Last update
..
OWNERS Loading commit data...
control-transfer-unittest.cc Loading commit data...
decoder-unittest.cc Loading commit data...
function-body-decoder-unittest.cc Loading commit data...
leb-helper-unittest.cc Loading commit data...
loop-assignment-analysis-unittest.cc Loading commit data...
module-decoder-unittest.cc Loading commit data...
streaming-decoder-unittest.cc Loading commit data...
trap-handler-unittest.cc Loading commit data...
wasm-code-manager-unittest.cc Loading commit data...
wasm-macro-gen-unittest.cc Loading commit data...
wasm-module-builder-unittest.cc Loading commit data...
wasm-opcodes-unittest.cc Loading commit data...