commit | b1300c711b05a403c65f41cbf90984c82d5f816c | [log] [tgz] |
---|---|---|
author | Justin Cohen <justincohen@google.com> | Thu May 20 11:10:34 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Mon May 24 09:53:55 2021 -0700 |
tree | 44ccddb5977e2e43a9a7a9c2f35f1eeff67f0192 | |
parent | c8f16f0c4c21e8eec8a106831c19e26c39e0376f [diff] |
ios: Add support for intermediate dump reader and writer. Due to the limitations of in-process handling, an intermediate dump file is written during exceptions. The data is streamed to a file using only in-process safe methods. The file format is similar to binary JSON, supporting keyed properties, maps and arrays. - Property [key:int, length:int, value:intarray] - StartMap [key:int], followed by repeating Properties until EndMap - StartArray [key:int], followed by repeating Maps until EndArray - EndMap, EndArray, EndDocument Similar to JSON, maps can contain other maps, arrays and properties. Once loaded, the binary file is read into a set of data structures that expose the data, maps and arrays. Bug: crashpad: 31 Change-Id: I7eefa1d38e7633adaffd55800eae4c2703fe4267 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2870807 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org> GitOrigin-RevId: b2b65a91cf8b5c33b50422fef87325f54dae0146
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.