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

Issue 586123002: 10.6 runtime compatibility for ProcessReader and MachOImageReader test (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

10.6 runtime compatibility for ProcessReader. On 10.6, the main executable does not show up at index 0, but appears elsewhere in the list. Modules are now scanned to ensure that the MH_EXECUTE one is first in the list. This means that ProcessReader is now responsible for creating a MachOImageReader object for each module, rather than having its callers perform that task. TEST=util_test MachOImageReader.*:ProcessReader.* R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/8e70083aa030a1a89590d906d2402771b23de570

Patch Set 1 #

Patch Set 2 : Don’t use the timestamp, check for MH_EXECUTE #

Patch Set 3 : Split MachOImageReader test changes into their own CL #

Total comments: 1

Patch Set 4 : Address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -25 lines) Patch
M util/mac/process_reader.h View 1 3 chunks +9 lines, -3 lines 0 comments Download
M util/mac/process_reader.cc View 1 2 3 6 chunks +94 lines, -18 lines 0 comments Download
M util/mac/process_reader_test.cc View 1 4 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Mark Mentovai
6 years, 3 months ago (2014-09-19 20:33:18 UTC) #2
Mark Mentovai
I split the MachOImageReader test portion out into its own change at https://codereview.chromium.org/586393003.
6 years, 3 months ago (2014-09-22 03:46:03 UTC) #4
Robert Sesek
LGTM https://codereview.chromium.org/586123002/diff/60001/util/mac/process_reader.cc File util/mac/process_reader.cc (right): https://codereview.chromium.org/586123002/diff/60001/util/mac/process_reader.cc#newcode517 util/mac/process_reader.cc:517: this, all_image_infos.dyldImageLoadAddress, module_name)) { nit: indent +4
6 years, 3 months ago (2014-09-22 16:31:41 UTC) #5
Mark Mentovai
6 years, 3 months ago (2014-09-22 17:09:02 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:80001) manually as 8e70083 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698