mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-29 00:32:35 +08:00
8e70083aa0
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 Review URL: https://codereview.chromium.org/586123002