1. 08 May, 2018 1 commit
    • Clemens Hammacher's avatar
      [msan] Add static type checks for non-msan builds · f3745430
      Clemens Hammacher authored
      Currently, non-msan builds don't check the arguments for
      MSAN_ALLOCATED_UNINITIALIZED_MEMORY and MSAN_MEMORY_IS_INITIALIZED
      calls, so type errors will only be reported on the msan builder.
      This CL adds static_asserts for non-msan builds.
      
      Drive-by: Rename MEMORY_SANITIZER to V8_USE_MEMORY_SANITIZER and move
      it to macros.h, where also other such macros (like
      V8_USE_ADDRESS_SANITIZER) live.
      
      R=ahaas@chromium.org
      
      Bug: v8:7570
      Change-Id: If6c3c6e0d1287b5f1e0c59828cd028d1beac933d
      Reviewed-on: https://chromium-review.googlesource.com/1046655Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53071}
      f3745430
  2. 14 Apr, 2018 1 commit
    • Jakob Kummerow's avatar
      [ubsan] Change Address typedef to uintptr_t · 2459046c
      Jakob Kummerow authored
      The "Address" type is V8's general-purpose type for manipulating memory
      addresses. Per the C++ spec, pointer arithmetic and pointer comparisons
      are undefined behavior except within the same array; since we generally
      don't operate within a C++ array, our general-purpose type shouldn't be
      a pointer type.
      
      Bug: v8:3770
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
      Change-Id: Ib96016c24a0f18bcdba916dabd83e3f24a1b5779
      Reviewed-on: https://chromium-review.googlesource.com/988657
      Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52601}
      2459046c
  3. 19 Sep, 2014 1 commit
  4. 11 Sep, 2014 1 commit
  5. 21 Aug, 2014 1 commit
  6. 03 Jun, 2014 1 commit
  7. 29 Apr, 2014 1 commit
  8. 01 Apr, 2014 1 commit
  9. 23 Oct, 2013 2 commits
  10. 17 Sep, 2013 1 commit
  11. 11 Jul, 2013 1 commit
  12. 08 Jul, 2013 1 commit
  13. 05 May, 2010 3 commits
  14. 19 Mar, 2010 1 commit
  15. 11 Mar, 2010 1 commit
  16. 25 May, 2009 1 commit
  17. 26 Jan, 2009 1 commit
  18. 09 Sep, 2008 1 commit
  19. 25 Jul, 2008 1 commit
    • kasper.lund's avatar
      Fixed bug in JSObject::GetPropertyAttributePostInterceptor where map... · 44510671
      kasper.lund authored
      Fixed bug in JSObject::GetPropertyAttributePostInterceptor where map transitions would count as properties.
      
      Allowed aliased eval invocations by treating them as evals in the global context. This may change in the future.
      
      Added support for accessing the last entered context through the API and renamed Context::Current to Context::GetCurrent and Context::GetSecurityContext to Context::GetCurrentSecurityContext.
      
      Fixed bug in the debugger that would cause the debugger scripts to be recursively loaded and changed all disabling of interrupts to be block-structured.
      
      Made snapshot data read-only to allow it to be more easily shared across multiple users of V8 when linked as a shared library.
      
      
      git-svn-id: http://v8.googlecode.com/svn/trunk@6 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      44510671
  20. 03 Jul, 2008 1 commit