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

Issue 2418483002: [wasm] test deserialization when header is invalid (Closed)

Created:
4 years, 2 months ago by Mircea Trofin
Modified:
4 years, 2 months ago
Reviewers:
bradnelson, Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] test deserialization when header is invalid A test where the deserialization data has a header, but the header is invalid. This is in addition to the current test where we have empty deserialization data. BUG= Committed: https://crrev.com/80caaac31bd05649ab81c0b84b320833c96b4ed7 Cr-Commit-Position: refs/heads/master@{#40321}

Patch Set 1 #

Patch Set 2 : [wasm] test deserialization when header is invalid #

Total comments: 4

Patch Set 3 : test method to alter header #

Total comments: 2

Patch Set 4 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -25 lines) Patch
M src/snapshot/code-serializer.h View 1 2 3 2 chunks +25 lines, -24 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 35 (24 generated)
Mircea Trofin
4 years, 2 months ago (2016-10-12 05:11:17 UTC) #5
bradnelson
https://codereview.chromium.org/2418483002/diff/20001/test/cctest/wasm/test-run-wasm-module.cc File test/cctest/wasm/test-run-wasm-module.cc (right): https://codereview.chromium.org/2418483002/diff/20001/test/cctest/wasm/test-run-wasm-module.cc#newcode233 test/cctest/wasm/test-run-wasm-module.cc:233: // Mess the header. Mess with? https://codereview.chromium.org/2418483002/diff/20001/test/cctest/wasm/test-run-wasm-module.cc#newcode235 test/cctest/wasm/test-run-wasm-module.cc:235: const_cast<uint8_t*>(data.first.get())[0] ...
4 years, 2 months ago (2016-10-12 19:10:25 UTC) #8
Mircea Trofin
+Yang, for the "ForTest" API on the snapshot side. https://codereview.chromium.org/2418483002/diff/20001/test/cctest/wasm/test-run-wasm-module.cc File test/cctest/wasm/test-run-wasm-module.cc (right): https://codereview.chromium.org/2418483002/diff/20001/test/cctest/wasm/test-run-wasm-module.cc#newcode233 test/cctest/wasm/test-run-wasm-module.cc:233: ...
4 years, 2 months ago (2016-10-12 20:32:06 UTC) #12
bradnelson
lgtm
4 years, 2 months ago (2016-10-13 05:28:16 UTC) #20
Yang
https://codereview.chromium.org/2418483002/diff/60001/src/snapshot/code-serializer.cc File src/snapshot/code-serializer.cc (right): https://codereview.chromium.org/2418483002/diff/60001/src/snapshot/code-serializer.cc#newcode418 src/snapshot/code-serializer.cc:418: void SerializedCodeData::InvalidateVersionForTest(byte* buffer, I'm not really happy with introducing ...
4 years, 2 months ago (2016-10-13 06:52:59 UTC) #21
Mircea Trofin
https://codereview.chromium.org/2418483002/diff/60001/src/snapshot/code-serializer.cc File src/snapshot/code-serializer.cc (right): https://codereview.chromium.org/2418483002/diff/60001/src/snapshot/code-serializer.cc#newcode418 src/snapshot/code-serializer.cc:418: void SerializedCodeData::InvalidateVersionForTest(byte* buffer, On 2016/10/13 06:52:59, Yang wrote: > ...
4 years, 2 months ago (2016-10-13 16:09:10 UTC) #22
Mircea Trofin
4 years, 2 months ago (2016-10-13 22:12:45 UTC) #25
Yang
On 2016/10/13 22:12:45, Mircea Trofin wrote: lgtm.
4 years, 2 months ago (2016-10-14 13:01:54 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2418483002/80001
4 years, 2 months ago (2016-10-14 14:22:12 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 2 months ago (2016-10-14 14:25:03 UTC) #33
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 14:25:35 UTC) #35
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/80caaac31bd05649ab81c0b84b320833c96b4ed7
Cr-Commit-Position: refs/heads/master@{#40321}

Powered by Google App Engine
This is Rietveld 408576698