aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/google_breakpad/common/minidump_exception_mac.h2
-rw-r--r--src/processor/minidump_processor.cc3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/google_breakpad/common/minidump_exception_mac.h b/src/google_breakpad/common/minidump_exception_mac.h
index a42a1522..fadbf4ef 100644
--- a/src/google_breakpad/common/minidump_exception_mac.h
+++ b/src/google_breakpad/common/minidump_exception_mac.h
@@ -87,6 +87,8 @@ typedef enum {
/* KERN_MEMORY_FAILURE */
MD_EXCEPTION_CODE_MAC_MEMORY_ERROR = 10,
/* KERN_MEMORY_ERROR */
+ MD_EXCEPTION_CODE_MAC_CODESIGN_ERROR = 50,
+ /* KERN_CODESIGN_ERROR */
/* With MD_EXCEPTION_SOFTWARE */
MD_EXCEPTION_CODE_MAC_BAD_SYSCALL = 0x00010000, /* Mach SIGSYS */
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 ==