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

Issue 516983003: Add MachOImageSegmentReader (Closed)

Created:
6 years, 3 months ago by Mark Mentovai
Modified:
6 years, 3 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

Add MachOImageSegmentReader. This is part of a family of classes whose chief entry point is MachOImageReader. MachOImageReader depends on this class to read segments, so this one is landing first. The bulk of this class will be tested as part of MachOImageReader. TEST=util_test MachOImageSegmentReader.* R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/1460c47d6ad6c93b49f9a934630e0f48fd687ce0

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review feedback #

Patch Set 3 : Add test #

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+611 lines, -0 lines) Patch
A util/mac/mach_o_image_segment_reader.h View 1 1 chunk +192 lines, -0 lines 0 comments Download
A util/mac/mach_o_image_segment_reader.cc View 1 1 chunk +230 lines, -0 lines 0 comments Download
A util/mac/mach_o_image_segment_reader_test.cc View 1 2 3 1 chunk +186 lines, -0 lines 2 comments Download
M util/util.gyp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mark Mentovai
mark@chromium.org changed reviewers: + rsesek@chromium.org
6 years, 3 months ago (2014-08-28 18:42:36 UTC) #1
Mark Mentovai
6 years, 3 months ago (2014-08-28 18:42:36 UTC) #2
Robert Sesek
No test? https://codereview.chromium.org/516983003/diff/1/util/mac/mach_o_image_segment_reader.cc File util/mac/mach_o_image_segment_reader.cc (right): https://codereview.chromium.org/516983003/diff/1/util/mac/mach_o_image_segment_reader.cc#newcode193 util/mac/mach_o_image_segment_reader.cc:193: CHECK(index < sections_.size()); CHECK_LT? https://codereview.chromium.org/516983003/diff/1/util/mac/mach_o_image_segment_reader.h File util/mac/mach_o_image_segment_reader.h ...
6 years, 3 months ago (2014-09-02 16:40:09 UTC) #3
Mark Mentovai
rsesek wrote: > No test? As the CL description says, it’ll be tested as part ...
6 years, 3 months ago (2014-09-02 16:49:13 UTC) #4
Robert Sesek
On 2014/09/02 16:49:13, Mark Mentovai wrote: > rsesek wrote: > > No test? > > ...
6 years, 3 months ago (2014-09-02 16:50:17 UTC) #5
Mark Mentovai
Good point, the tests for that can be here.
6 years, 3 months ago (2014-09-02 17:44:15 UTC) #6
Robert Sesek
LGTM https://codereview.chromium.org/516983003/diff/60001/util/mac/mach_o_image_segment_reader_test.cc File util/mac/mach_o_image_segment_reader_test.cc (right): https://codereview.chromium.org/516983003/diff/60001/util/mac/mach_o_image_segment_reader_test.cc#newcode179 util/mac/mach_o_image_segment_reader_test.cc:179: << base::StringPrintf("index %zu, segment %s, section %s", Not ...
6 years, 3 months ago (2014-09-02 18:00:13 UTC) #7
Mark Mentovai
https://codereview.chromium.org/516983003/diff/60001/util/mac/mach_o_image_segment_reader_test.cc File util/mac/mach_o_image_segment_reader_test.cc (right): https://codereview.chromium.org/516983003/diff/60001/util/mac/mach_o_image_segment_reader_test.cc#newcode179 util/mac/mach_o_image_segment_reader_test.cc:179: << base::StringPrintf("index %zu, segment %s, section %s", rsesek wrote: ...
6 years, 3 months ago (2014-09-02 18:01:05 UTC) #8
Mark Mentovai
6 years, 3 months ago (2014-09-02 19:50:14 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 1460c47 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698