mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
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