• Andreas Haas's avatar
    [wasm] Stop decoding operands after error. · 6633ad56
    Andreas Haas authored
    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: I3b7b45782c71a70364adf930bee3e94a1be88fea
    Reviewed-on: https://chromium-review.googlesource.com/832867
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50196}
    6633ad56
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...