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

Issue 480763003: MSan: mark any memory allocated from the JS heap as uninitialized. (Closed)

Created:
6 years, 4 months ago by earthdok
Modified:
6 years, 3 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev, eugenis
Base URL:
https://chromium.googlesource.com/external/v8.git@bleeding_edge
Project:
v8
Visibility:
Public.

Description

MSan: mark any memory allocated from the JS heap as uninitialized. BUG=chromium:403409, chromium:178409 R=jkummerow@chromium.org LOG=N Committed: https://code.google.com/p/v8/source/detail?r=23268

Patch Set 1 #

Total comments: 1

Patch Set 2 : undo accidental edit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M src/heap/spaces.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap/spaces-inl.h View 3 chunks +5 lines, -0 lines 0 comments Download
M src/msan.h View 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
earthdok
Please take a look (assuming the general approach makes sense, as discussed on crbug).
6 years, 4 months ago (2014-08-20 15:23:40 UTC) #1
Jakob Kummerow
LGTM, we can give this a shot. Considering that MSan is only run with simulators, ...
6 years, 4 months ago (2014-08-21 08:13:46 UTC) #2
earthdok
On 2014/08/21 08:13:46, Jakob wrote: > LGTM, we can give this a shot. > > ...
6 years, 4 months ago (2014-08-21 09:15:13 UTC) #3
earthdok
The CQ bit was checked by earthdok@chromium.org
6 years, 4 months ago (2014-08-21 09:35:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://v8-status.appspot.com/cq/earthdok@chromium.org/480763003/20001
6 years, 4 months ago (2014-08-21 09:35:54 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (20001) as 23268
6 years, 4 months ago (2014-08-21 09:36:02 UTC) #6
Evgeniy Stepanov
6 years, 3 months ago (2014-08-26 08:57:27 UTC) #7
Message was sent while issue was closed.
On 2014/08/21 09:15:13, earthdok wrote:
> On 2014/08/21 08:13:46, Jakob wrote:
> > LGTM, we can give this a shot.
> > 
> > Considering that MSan is only run with simulators, this approach shouldn't
> > introduce false positives due to missing unpoisoning. Have you run it
locally
> to
> > see if it reports anything?
> I've only verified that the reproducer in issue 403409 causes an MSan report
> after this change. I've not done much to check that no false positives have
been
> introduced.
> 
> By the way, I think the annotations in msan.h under !defined(USE_SIMULATOR)
can
> be removed, as we don't have any plans to support that mode of usage. I'll
wait
> for an OK from eugenis@ and then nuke them.

This sounds like a good idea.

Powered by Google App Engine
This is Rietveld 408576698