Reviewers: ,

Description:
Annotate V8 for MemorySanitizer.

There are 4 kinds of annotations here:
- We mark memory allocated for the V8 heap as initialized.
  This is needed because MemorySanitizer can not detect memory writes from
JIT code and will erroneously think that entire V8 heap is not initialized.
- On JIT->C++ transition, we mark a large chunk of stack and function
  arguments as initialized.
- In stack unwind code we mark return address slots on the stack as
  uninitialized.
- Workarounds for lack of inline assembly support in sanitizers:
  + disable STOS
  + pre-initialize outputs of cpuid

Please review this at https://codereview.chromium.org/26006004/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files (+111, -6 lines):
  M     src/arguments.h
  M     src/atomicops_internals_x86_gcc.cc
  M     src/builtins.cc
  M     src/deoptimizer.cc
  M     src/frames-inl.h
  M     src/frames.cc
  A     src/msan.h
  M     src/platform-posix.cc
  M     src/spaces.cc
  M     src/v8utils.h


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to