aboutsummaryrefslogtreecommitdiff
path: root/src/processor
diff options
context:
space:
mode:
authorMark Mentovai <mark@chromium.org>2019-11-22 12:51:43 -0500
committerMark Mentovai <mark@chromium.org>2019-11-22 17:52:59 +0000
commitf6fe7cc55ab9f28f5c984741bc4c04650dfe1cb3 (patch)
treecdd2a8cdf3f743823ba3047382ee77b026f9a30f /src/processor
parentFix 'make distcheck' (diff)
downloadbreakpad-f6fe7cc55ab9f28f5c984741bc4c04650dfe1cb3.tar.xz
mac processor: Add mapping for EXC_BAD_ACCESS/KERN_CODESIGN_ERROR
This code indicates termination under “kill” semantics due to a module’s code signature becoming invalid. Bug: chromium:1023239 Change-Id: I3d453af9ef6c6925edcf9c08dbd78e563877522f Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1930177 Reviewed-by: Robert Sesek <rsesek@chromium.org>
Diffstat (limited to 'src/processor')
-rw-r--r--src/processor/minidump_processor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/processor/minidump_processor.cc b/src/processor/minidump_processor.cc
index 10a4173a..b1ddbb82 100644
--- a/src/processor/minidump_processor.cc
+++ b/src/processor/minidump_processor.cc
@@ -804,6 +804,9 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, uint64_t *address) {
case MD_EXCEPTION_CODE_MAC_MEMORY_ERROR:
reason.append("KERN_MEMORY_ERROR");
break;
+ case MD_EXCEPTION_CODE_MAC_CODESIGN_ERROR:
+ reason.append("KERN_CODESIGN_ERROR");
+ break;
default:
// arm and ppc overlap
if (raw_system_info->processor_architecture ==