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

Issue 1900153002: [wasm] Enforce strict ordering of WASM module sections. (Closed)

Created:
4 years, 8 months ago by titzer
Modified:
4 years, 8 months ago
Reviewers:
JF, 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] Enforce strict ordering of WASM module sections. R=jfb@chromium.org,rossberg@chromium.org BUG= Committed: https://crrev.com/b3cf031eb833a9be11061f757a70f7d24a8b9c0c Cr-Commit-Position: refs/heads/master@{#35698}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Validate section length matches declaration #

Patch Set 3 : Add another test for missing signature table #

Patch Set 4 : Fix OOB #

Total comments: 8

Patch Set 5 : Address review comments #

Patch Set 6 : OOB again #

Patch Set 7 : not OOB #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -259 lines) Patch
M src/wasm/encoder.cc View 1 2 3 4 5 6 7 9 chunks +48 lines, -45 lines 0 comments Download
M src/wasm/module-decoder.cc View 1 2 3 4 6 11 chunks +56 lines, -74 lines 0 comments Download
M src/wasm/wasm-module.h View 1 2 3 chunks +18 lines, -16 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 2 chunks +26 lines, -3 lines 0 comments Download
M test/mjsunit/wasm/wasm-module-builder.js View 1 2 5 chunks +64 lines, -56 lines 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 1 2 29 chunks +104 lines, -65 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
titzer
4 years, 8 months ago (2016-04-19 15:08:00 UTC) #1
JF
https://codereview.chromium.org/1900153002/diff/1/src/wasm/module-decoder.cc File src/wasm/module-decoder.cc (right): https://codereview.chromium.org/1900153002/diff/1/src/wasm/module-decoder.cc#newcode124 src/wasm/module-decoder.cc:124: section_length) { This seems pretty impossible to cause to ...
4 years, 8 months ago (2016-04-19 15:48:47 UTC) #2
titzer
https://codereview.chromium.org/1900153002/diff/1/src/wasm/module-decoder.cc File src/wasm/module-decoder.cc (right): https://codereview.chromium.org/1900153002/diff/1/src/wasm/module-decoder.cc#newcode124 src/wasm/module-decoder.cc:124: section_length) { On 2016/04/19 15:48:47, JF wrote: > This ...
4 years, 8 months ago (2016-04-20 08:51:25 UTC) #3
JF
lgtm, I think all the other comments can be in a separate patch (I only ...
4 years, 8 months ago (2016-04-20 17:59:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900153002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900153002/120001
4 years, 8 months ago (2016-04-21 10:38:29 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/13969)
4 years, 8 months ago (2016-04-21 10:41:21 UTC) #9
titzer
https://codereview.chromium.org/1900153002/diff/60001/src/wasm/module-decoder.cc File src/wasm/module-decoder.cc (right): https://codereview.chromium.org/1900153002/diff/60001/src/wasm/module-decoder.cc#newcode399 src/wasm/module-decoder.cc:399: expected_length); On 2016/04/20 at 17:59:54, JF wrote: > If ...
4 years, 8 months ago (2016-04-21 10:59:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900153002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900153002/140001
4 years, 8 months ago (2016-04-21 11:06:42 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-21 11:18:45 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:14:34 UTC) #16
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b3cf031eb833a9be11061f757a70f7d24a8b9c0c
Cr-Commit-Position: refs/heads/master@{#35698}

Powered by Google App Engine
This is Rietveld 408576698