10 releases

0.5.1 May 30, 2023
0.5.0 May 24, 2022
0.4.2 May 5, 2020
0.4.0 Mar 24, 2020
0.1.1 Jan 13, 2019

#1099 in Parser implementations

Download history 43/week @ 2024-07-22 61/week @ 2024-07-29 16/week @ 2024-08-05 49/week @ 2024-08-12 57/week @ 2024-08-19 37/week @ 2024-08-26 22/week @ 2024-09-02 77/week @ 2024-09-09 59/week @ 2024-09-16 41/week @ 2024-09-23 66/week @ 2024-09-30 28/week @ 2024-10-07 69/week @ 2024-10-14 21/week @ 2024-10-21 102/week @ 2024-11-04

193 downloads per month

Apache-2.0

76KB
398 lines

Apple Crash Report Parser

Build Status Crates.io

This is a Rust library that can parse apple crash report text files. These files are generated by the apple native crash reporter as well as PLCrashReporter and KSCrash.

Example file

Incident Identifier: 5C32DF84-31A0-43E7-87D0-239F7F594940
CrashReporter Key:   TODO
Hardware Model:      MacBookPro14,3
Process:         YetAnotherMac [49028]
Identifier:      com.YourCompany.YetAnotherMac
Version:         4.21.1
Code Type:       X86-64
Parent Process:  launchd [1]

Date/Time:       2019-01-09 17:44:22 +0000
OS Version:      Mac OS X 10.14.0 (18A391)
Report Version:  104

Exception Type:  SIGSEGV
Exception Codes: SEGV_MAPERR at 0x88
Crashed Thread:  5

Thread 0:
0   libsystem_kernel.dylib              0x00007fff61bc6c2a 0x7fff61bc6000 + 3114
1   CoreFoundation                      0x00007fff349f505e 0x7fff349b9000 + 245854
2   CoreFoundation                      0x00007fff349f45ad 0x7fff349b9000 + 243117
3   CoreFoundation                      0x00007fff349f3ce4 0x7fff349b9000 + 240868
4   HIToolbox                           0x00007fff33c8d895 0x7fff33c83000 + 43157
5   HIToolbox                           0x00007fff33c8d5cb 0x7fff33c83000 + 42443
6   HIToolbox                           0x00007fff33c8d348 0x7fff33c83000 + 41800
7   AppKit                              0x00007fff31f4a95b 0x7fff31f30000 + 108891
8   AppKit                              0x00007fff31f496fa 0x7fff31f30000 + 104186
9   AppKit                              0x00007fff31f4375d 0x7fff31f30000 + 79709
10  YetAnotherMac                       0x0000000108b7092b 0x10864e000 + 5384491
11  YetAnotherMac                       0x0000000108b702a6 0x10864e000 + 5382822
12  libdyld.dylib                       0x00007fff61a8e085 0x7fff61a77000 + 94341

...

Resources

Dependencies

~3.5–5MB
~80K SLoC