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

Issue 2043233003: Prevent sign extension for pointer trace values (Closed)

Created:
4 years, 6 months ago by Kunihiko Sakamoto
Modified:
4 years, 6 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent sign extension for pointer trace values This makes 32-bit pointers serialize like "0xdeadbeef", not "0xffffffffdeadbeef". BUG=618221 Committed: https://crrev.com/e853dea3b3213b3736f0fa2f36aa8ae05950edf9 Cr-Commit-Position: refs/heads/master@{#399347}

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M base/trace_event/trace_event_impl.cc View 1 chunk +1 line, -1 line 2 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043233003/20001
4 years, 6 months ago (2016-06-09 01:27:41 UTC) #5
Kunihiko Sakamoto
nduca@ for base/trace_event/ caseq@ for inspector/ What do you think? Please see http://crbug.com/618221 for context.
4 years, 6 months ago (2016-06-09 01:51:58 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/84710)
4 years, 6 months ago (2016-06-09 04:09:22 UTC) #9
Primiano Tucci (use gerrit)
LGTM, 32 bit pointers should not be sign extended. Thanks for the fix.
4 years, 6 months ago (2016-06-09 13:24:08 UTC) #11
caseq
https://codereview.chromium.org/2043233003/diff/20001/base/trace_event/trace_event_impl.cc File base/trace_event/trace_event_impl.cc (right): https://codereview.chromium.org/2043233003/diff/20001/base/trace_event/trace_event_impl.cc#newcode264 base/trace_event/trace_event_impl.cc:264: static_cast<uint64_t>(reinterpret_cast<uintptr_t>(value.as_pointer))); can we drop the inner one and do ...
4 years, 6 months ago (2016-06-09 16:59:13 UTC) #12
Kunihiko Sakamoto
Thanks for the review. https://codereview.chromium.org/2043233003/diff/20001/base/trace_event/trace_event_impl.cc File base/trace_event/trace_event_impl.cc (right): https://codereview.chromium.org/2043233003/diff/20001/base/trace_event/trace_event_impl.cc#newcode264 base/trace_event/trace_event_impl.cc:264: static_cast<uint64_t>(reinterpret_cast<uintptr_t>(value.as_pointer))); On 2016/06/09 16:59:13, caseq ...
4 years, 6 months ago (2016-06-10 05:19:24 UTC) #13
caseq
On 2016/06/10 05:19:24, Kunihiko Sakamoto wrote: > Thanks for the review. > > https://codereview.chromium.org/2043233003/diff/20001/base/trace_event/trace_event_impl.cc > ...
4 years, 6 months ago (2016-06-10 17:29:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043233003/20001
4 years, 6 months ago (2016-06-10 23:44:42 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 6 months ago (2016-06-11 01:29:58 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-11 01:30:00 UTC) #19
commit-bot: I haz the power
4 years, 6 months ago (2016-06-11 01:31:06 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e853dea3b3213b3736f0fa2f36aa8ae05950edf9
Cr-Commit-Position: refs/heads/master@{#399347}

Powered by Google App Engine
This is Rietveld 408576698