1. 05 Jan, 2018 1 commit
    • Clemens Hammacher's avatar
      [wasm] Add flag for untrusted code mitigations · 37d325a3
      Clemens Hammacher authored
      Add a flag which controls our mitigations for executing untrusted code,
      in particular mitigations against speculative side channel attacks.
      The new flag (--untrusted-code-mitigations) is enabled by default, and
      currently only controls the mitigations we do in wasm.
      In the future, it should also replace the --extra-masking flag
      controlling our javascript mitigations.
      
      R=bradnelson@chromium.org, bmeurer@chromium.org
      CC=​hablich@chromium.org
      
      Bug: chromium:798964
      Change-Id: I94a008fdb95b6bce07d547a8b81ec9f23f392496
      Reviewed-on: https://chromium-review.googlesource.com/850212Reviewed-by: 's avatarBrad Nelson <bradnelson@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50370}
      37d325a3
  2. 04 Jan, 2018 21 commits
  3. 03 Jan, 2018 16 commits
  4. 02 Jan, 2018 2 commits
    • Bill Budge's avatar
      Revert "Revert "[debugger] do not try to find saved context before DebugEvaluate::Local"" · 781fa726
      Bill Budge authored
      This reverts commit 2a8e1e4a.
      
      Reason for revert: Time outs were caused by infra issues.
      
      Original change's description:
      > Revert "[debugger] do not try to find saved context before DebugEvaluate::Local"
      > 
      > This reverts commit ea7499df.
      > 
      > Reason for revert: Speculative, but this CL seems correlated with a bunch of timeouts on Linux:
      > 
      > https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap/builds/19540
      > 
      > Original change's description:
      > > [debugger] do not try to find saved context before DebugEvaluate::Local
      > > 
      > > Current implementation produces crashes since sometimes saved context
      > > is empty. It looks like we do not need to restore saved context since
      > > we do not set debug context as current, at least all tests are passed.
      > > 
      > > R=​yangguo@chromium.org
      > > 
      > > Bug: chromium:797573,chromium:792838
      > > Change-Id: I1271640f6a18cbaaecfa1e99ed9ac28e0dbbb1da
      > > Reviewed-on: https://chromium-review.googlesource.com/844979
      > > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#50327}
      > 
      > TBR=yangguo@chromium.org,kozyatinskiy@chromium.org
      > 
      > Change-Id: I543201698c96c9762c481c1f6012cc13cb712842
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      > Bug: chromium:797573, chromium:792838
      > Reviewed-on: https://chromium-review.googlesource.com/846205
      > Reviewed-by: Bill Budge <bbudge@chromium.org>
      > Commit-Queue: Bill Budge <bbudge@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#50331}
      
      TBR=bbudge@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org
      
      Change-Id: I44e916c796b935c372ce418a3fad44aa25d6f863
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: chromium:797573, chromium:792838
      Reviewed-on: https://chromium-review.googlesource.com/848132Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
      Commit-Queue: Bill Budge <bbudge@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50332}
      781fa726
    • Bill Budge's avatar
      Revert "[debugger] do not try to find saved context before DebugEvaluate::Local" · 2a8e1e4a
      Bill Budge authored
      This reverts commit ea7499df.
      
      Reason for revert: Speculative, but this CL seems correlated with a bunch of timeouts on Linux:
      
      https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap/builds/19540
      
      Original change's description:
      > [debugger] do not try to find saved context before DebugEvaluate::Local
      > 
      > Current implementation produces crashes since sometimes saved context
      > is empty. It looks like we do not need to restore saved context since
      > we do not set debug context as current, at least all tests are passed.
      > 
      > R=​yangguo@chromium.org
      > 
      > Bug: chromium:797573,chromium:792838
      > Change-Id: I1271640f6a18cbaaecfa1e99ed9ac28e0dbbb1da
      > Reviewed-on: https://chromium-review.googlesource.com/844979
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#50327}
      
      TBR=yangguo@chromium.org,kozyatinskiy@chromium.org
      
      Change-Id: I543201698c96c9762c481c1f6012cc13cb712842
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: chromium:797573, chromium:792838
      Reviewed-on: https://chromium-review.googlesource.com/846205Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
      Commit-Queue: Bill Budge <bbudge@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50331}
      2a8e1e4a