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

Issue 1218503002: Add bounds-checking in runtime implementations of %FixedArray{Get,Set} (Closed)

Created:
5 years, 6 months ago by adamk
Modified:
5 years, 5 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add bounds-checking in runtime implementations of %FixedArray{Get,Set} The runtime versions of these intrinsics are used by full-codegen; hopefully this doesn't noticeably degrade performance (in optimized code, there's no bounds-checking). BUG=chromium:504786 LOG=n

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M src/runtime/runtime-array.cc View 1 chunk +6 lines, -4 lines 0 comments Download
A test/mjsunit/regress/regress-504786.js View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
adamk
5 years, 6 months ago (2015-06-26 15:10:13 UTC) #2
adamk
Thinking about this a bit more, I'm not sure how useful this is. Bounds-checking here ...
5 years, 6 months ago (2015-06-26 15:15:35 UTC) #3
arv (Not doing code reviews)
On 2015/06/26 15:15:35, adamk wrote: > Thinking about this a bit more, I'm not sure ...
5 years, 6 months ago (2015-06-26 15:19:58 UTC) #4
adamk
On 2015/06/26 15:19:58, arv wrote: > On 2015/06/26 15:15:35, adamk wrote: > > Thinking about ...
5 years, 6 months ago (2015-06-26 15:26:07 UTC) #5
Michael Starzinger
On 2015/06/26 15:26:07, adamk wrote: > On 2015/06/26 15:19:58, arv wrote: > > On 2015/06/26 ...
5 years, 6 months ago (2015-06-26 16:09:03 UTC) #6
adamk
5 years, 5 months ago (2015-06-30 18:58:09 UTC) #7
The plan is to have ClusterFuzz only fuzz with certain whitelisted runtime
functions: https://code.google.com/p/chromium/issues/detail?id=505566

Closing this issue.

Powered by Google App Engine
This is Rietveld 408576698