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

Issue 816123002: MemorySanitizer support. (Closed)

Created:
6 years ago by koda
Modified:
6 years ago
Reviewers:
siva, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

MemorySanitizer support. Enables building (including generating snapshot) and running simple scripts under MemorySanitizer. Not all tests pass yet. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=42561

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -19 lines) Patch
A runtime/platform/address_sanitizer.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
A runtime/platform/memory_sanitizer.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M runtime/platform/platform_headers.gypi View 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/exceptions.cc View 1 2 3 4 5 6 3 chunks +4 lines, -15 lines 0 comments Download
M runtime/vm/native_arguments.h View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M runtime/vm/native_entry.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/native_entry.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/stack_frame.cc View 1 2 3 4 5 3 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
koda
6 years ago (2014-12-20 01:46:46 UTC) #1
siva
LGTM I would prefer if we used macros MSAN_UNPOISON(...) ASAN_..... https://codereview.chromium.org/816123002/diff/60001/runtime/platform/address_sanitizer.h File runtime/platform/address_sanitizer.h (right): https://codereview.chromium.org/816123002/diff/60001/runtime/platform/address_sanitizer.h#newcode19 ...
6 years ago (2014-12-22 17:01:53 UTC) #2
koda
Added macros and changed UnpoisonStack to not rely on stack limit being valid. https://codereview.chromium.org/816123002/diff/60001/runtime/platform/address_sanitizer.h File ...
6 years ago (2014-12-22 23:05:52 UTC) #3
siva
still LGTM https://codereview.chromium.org/816123002/diff/100001/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/816123002/diff/100001/runtime/vm/exceptions.cc#newcode303 runtime/vm/exceptions.cc:303: stack_pointer - current_sp); indent problem? https://codereview.chromium.org/816123002/diff/100001/runtime/vm/native_entry.h File ...
6 years ago (2014-12-22 23:39:57 UTC) #4
koda
https://codereview.chromium.org/816123002/diff/100001/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/816123002/diff/100001/runtime/vm/exceptions.cc#newcode303 runtime/vm/exceptions.cc:303: stack_pointer - current_sp); On 2014/12/22 23:39:57, siva wrote: > ...
6 years ago (2014-12-23 01:07:42 UTC) #5
koda
6 years ago (2014-12-23 01:08:05 UTC) #6
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as r42561 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698