gecko-dev/toolkit/crashreporter/breakpad-patches
Gabriele Svelto c2cb64620b Bug 1724388 - Add support for catching and processing EXC_GUARD exceptions on macOS r=KrisWright
Besides adding EXC_GUARD to the list of exceptions the exception handler
listens to and modifying the minidump processor to interpret the exception
correctly this patch introduces a unit-test that crashes with an EXC_RESOURCE
exception.

Information about the exception itself is available here:

https://github.com/apple/darwin-xnu/blob/main/osfmk/kern/exc_guard.h

Additional flavors for the exception are documented here:

https://github.com/apple/darwin-xnu/osfmk/mach/port.h
https://github.com/apple/darwin-xnu/osfmk/mach/vm_statistics.h

Last but not least the undocumented API that generates these exceptions and
which we use in the unit-test was inferred from this header:

https://github.com/apple/darwin-xnu/blob/main/bsd/sys/guarded.h

Depends on D122229

Differential Revision: https://phabricator.services.mozilla.com/D122374
2021-08-20 08:06:00 +00:00
..
00-arm-exidx-rollup.patch
02-define-print-mach-result.patch
03-strstr-libc-replacement.patch
04-update-headers.patch
09-json-upload.patch
10-macho-cpu-subtype.patch Bug 1692531 - Reinstate the out-of-tree Breakpad patch fixing bug 1371390 r=KrisWright 2021-02-16 06:41:00 +00:00
12-macho-cpu-subtype-fix.patch
13-improve-arm64-stack-walking.patch
14-handle-non-fixed-size-amd64-and-x86-contexts.patch
15-freebsd-profiler-support.patch Bug 1688192 - Add bug 1634205 to the breakpad patches we apply locally to prevent updates from clobbering it r=KrisWright 2021-01-26 21:30:48 +00:00
16-get-last-error.patch Bug 1692309 - extract the GetLastError value from minidumps. r=gsvelto 2021-03-16 15:24:22 +00:00
17-unloaded-modules.patch Bug 1702043 - Print out the list of unloaded modules when processing a minidump r=Gankra 2021-04-06 07:52:20 +00:00
18-fastfail-codes.patch Bug 1703248 - Print the exception subcode of EXCEPTION_STACK_BUFFER_OVERRUN crashes r=KrisWright 2021-04-12 08:04:54 +00:00
19-updated-ntstatus.patch Bug 1704034 - Make the stackwalker print out the name of NTSTATUS error codes r=KrisWright 2021-04-14 10:17:02 +00:00
20-mac-crash-info.patch Bug 1577886 - Add support to for macOS __crash_info data to Breakpad (followup). r=gsvelto 2021-05-04 08:31:08 +00:00
21-thread-names.patch Bug 1725154 - Import breakpad patches that had been applied to Socorro's stackwalker r=KrisWright 2021-08-20 08:05:59 +00:00
22-winerror-codes.patch Bug 1725154 - Import breakpad patches that had been applied to Socorro's stackwalker r=KrisWright 2021-08-20 08:05:59 +00:00
23-si-user-si-kernel-siginfo.patch Bug 1725154 - Import breakpad patches that had been applied to Socorro's stackwalker r=KrisWright 2021-08-20 08:05:59 +00:00
24-macos-exc-resource.patch Bug 1724368 - Add support for catching and processing EXC_RESOURCE exceptions on macOS r=KrisWright 2021-08-20 08:06:00 +00:00
25-macos-exc-guard.patch Bug 1724388 - Add support for catching and processing EXC_GUARD exceptions on macOS r=KrisWright 2021-08-20 08:06:00 +00:00
26-print-thread-tid.patch Bug 1618669 - Display tid of crashing thread in minidump_stackwalk output. r=sfink 2021-08-19 18:46:31 +00:00
README

README

Do not land local patches to Breakpad without the approval of
Ted Mielczarek <ted@mielczarek.org>

All local patches must be in the process of being upstreamed.