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

Issue 2490533003: [wasm] Always trap for memory accesses with offset=uint32_max. (Closed)

Created:
4 years, 1 month ago by ahaas
Modified:
4 years, 1 month ago
Reviewers:
titzer
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Always trap for memory accesses with offset=uint32_max. We handle this case specially because otherwise we would have to do complicated overflow detection. R=titzer@chromium.org TEST=cctest/test-run-wasm/RunWasmCompiled_LoadMaxUint32Offset Committed: https://crrev.com/387817f5bb1337d37a09ec0fd789b28d4b3a0bd1 Cr-Commit-Position: refs/heads/master@{#40844}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove unused variable, address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1 line) Patch
M src/compiler/wasm-compiler.cc View 1 1 chunk +11 lines, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
ahaas
4 years, 1 month ago (2016-11-08 15:07:34 UTC) #1
titzer
lgtm https://codereview.chromium.org/2490533003/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2490533003/diff/1/src/compiler/wasm-compiler.cc#newcode2925 src/compiler/wasm-compiler.cc:2925: (offset - 1) + memsize; // == offset ...
4 years, 1 month ago (2016-11-08 15:16:32 UTC) #6
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/2490533003/20001
4 years, 1 month ago (2016-11-08 15:45:01 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-08 15:47:03 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:26:38 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/387817f5bb1337d37a09ec0fd789b28d4b3a0bd1
Cr-Commit-Position: refs/heads/master@{#40844}

Powered by Google App Engine
This is Rietveld 408576698