Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(801)

Issue 1961853002: [wasm] Verify expressions do not cross control boundaries in WASM. (Closed)

Created:
4 years, 7 months ago by titzer
Modified:
4 years, 7 months ago
Reviewers:
ahaas, rossberg
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Verify expressions do not cross control boundaries in WASM. This catches malformed code like the following example: <expr> <block begin> <expr> <binop> <end> Which is illegal because the inputs to the binop cross the block boundary. R=rossberg@chromium.org,ahaas@chromium.org BUG= Committed: https://crrev.com/73a988a0d5b24231127eee9019296040e0cefd80 Cr-Commit-Position: refs/heads/master@{#36103}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -8 lines) Patch
M src/wasm/ast-decoder.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M test/unittests/wasm/ast-decoder-unittest.cc View 1 chunk +18 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
titzer
4 years, 7 months ago (2016-05-09 09:20:01 UTC) #1
ahaas
lgtm Haha, at first I forgot that I have to read the wasm code in ...
4 years, 7 months ago (2016-05-09 09:55:43 UTC) #2
titzer
https://codereview.chromium.org/1961853002/diff/1/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/1961853002/diff/1/src/wasm/ast-decoder.cc#newcode1160 src/wasm/ast-decoder.cc:1160: size_t limit = control_.empty() ? 0 : control_.back().stack_depth; On ...
4 years, 7 months ago (2016-05-09 09:57:20 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961853002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961853002/20001
4 years, 7 months ago (2016-05-09 10:32:40 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-09 10:34:25 UTC) #7
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 10:36:31 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/73a988a0d5b24231127eee9019296040e0cefd80
Cr-Commit-Position: refs/heads/master@{#36103}

Powered by Google App Engine
This is Rietveld 408576698