mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
The 32-bit process_types definition of dyld_all_image_infos winds up with four extra bytes of tail padding when built into a 64-bit crashpad_handler compared to a 32-bit one, and compared to the structure’s native size. This prevents a 64-bit crashpad_handler from being able to create a module snapshot of a 32-bit process for dyld_all_image_infos versions 14 (since 10.9) and 15 (since 10.12). Work around this by placing a zero-length “end” marker and using offsetof(dyld_all_image_infos, end) in preference to sizeof(dyld_all_image_infos). BUG=crashpad:156,crashpad:148,crashpad:120 TEST=crashpad_snapshot_test ProcessTypes.DyldImagesSelf, run_with_crashpad --handler=crashpad_handler{,32} builtin_trap{,32} Change-Id: I406ad53851b5bd29ec802b7ad3073836ebe8c34c Reviewed-on: https://chromium-review.googlesource.com/437924 Reviewed-by: Robert Sesek <rsesek@chromium.org>
Crashpad
Crashpad is a crash-reporting system.
Documentation
- Project status
- Developing Crashpad: instructions for getting the source code, building, testing, and contributing to the project.
- Crashpad interface documentation
- Crashpad tool man pages
Source Code
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.
Other Links
- Bugs can be reported at the Crashpad issue tracker.
- The Crashpad Buildbot performs automated builds and tests.
- crashpad-dev is the Crashpad developers’ mailing list.
Description
Languages
C++
92.5%
Objective-C++
2.5%
C
2%
Python
1.8%
Assembly
0.9%
Other
0.3%