Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(51)

Issue 5674002: minidump_dump: convert time_t values to UTC correctly. Interpret the (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by Mark Mentovai
Modified:
10 years, 5 months ago
Reviewers:
ivanpe
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

minidump_dump: bug fixes.

 - Convert time_t values to UTC correctly. It is incorrect to cast a uint32_t*
   to time_t* because the two types may have different widths. This is the
   case on many 64-bit systems, where time_t is a 64-bit signed integer.
   Conversion is unified in a single function, and additional uses of time_t
   in minidump files not previously displayed in UTC are now displayed.
 - Interpret the IMAGE_DEBUG_MISC structure correctly.
 - When printing MINIDUMP_SYSTEM_INFO structures, always show the "x86" side
   of the union, and state whether it's expected to be valid. (Existing
   Breakpad-produced non-Windows minidumps for x86_64 use the "x86" side of
   union, but Windows minidumps for x86_64 use the "other" side, so I want to
   print both.)

R=ivanpe@chromium.org

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1339

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/processor/minidump.cc View 1 8 chunks +53 lines, -30 lines 0 comments Download

Messages

Total messages: 5
Mark Mentovai
https://breakpad.appspot.com/5674002/diff/1/src/processor/minidump.cc File src/processor/minidump.cc (left): https://breakpad.appspot.com/5674002/diff/1/src/processor/minidump.cc#oldcode2904 src/processor/minidump.cc:2904: if (misc_record->unicode) The old code interpreted the opposite meaning ...
10 years, 5 months ago #1
ivanpe
https://breakpad.appspot.com/5674002/diff/1/src/processor/minidump.cc File src/processor/minidump.cc (right): https://breakpad.appspot.com/5674002/diff/1/src/processor/minidump.cc#newcode370 src/processor/minidump.cc:370: std::string TimeTToUTCString(time_t tt) { Instead of std::string, please use ...
10 years, 5 months ago #2
Mark Mentovai
Thanks for the review. I’ve addressed the feedback. https://breakpad.appspot.com/5674002/diff/1/src/processor/minidump.cc File src/processor/minidump.cc (right): https://breakpad.appspot.com/5674002/diff/1/src/processor/minidump.cc#newcode370 src/processor/minidump.cc:370: std::string ...
10 years, 5 months ago #3
ivanpe
On 2014/06/17 03:57:16, Mark Mentovai wrote: > Thanks for the review. I’ve addressed the feedback. ...
10 years, 5 months ago #4
Mark Mentovai
10 years, 5 months ago #5
Message was sent while issue was closed.
Committed patchset #2 manually as r1339 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted