Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4898)

Unified Diff: chrome/browser/mac/exception_processor.mm

Issue 2649253003: [Mac] Sinkhole __NSFireDelayedPerform and _CFXNotificationPost in the exception preprocessor. (Closed)
Patch Set: DVLOG Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/mac/exception_processor_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/mac/exception_processor.mm
diff --git a/chrome/browser/mac/exception_processor.mm b/chrome/browser/mac/exception_processor.mm
index 39221466e18f78847def22d8383c1e0858fedc10..b293c94bffa508d466a0a51698e6f5a70c6a85fa 100644
--- a/chrome/browser/mac/exception_processor.mm
+++ b/chrome/browser/mac/exception_processor.mm
@@ -79,7 +79,9 @@ static objc_exception_preprocessor g_next_preprocessor = nullptr;
static const char* const kExceptionSinkholes[] = {
"CFRunLoopRunSpecific",
+ "_CFXNotificationPost",
"_dispatch_client_callout",
+ "__NSFireDelayedPerform",
};
// This function is used to make it clear to the crash processor that this is
@@ -173,6 +175,8 @@ static id ObjcExceptionPreprocessor(id exception) {
}
}
+ DVLOG(1) << "Stopping search for exception handler at " << proc_name;
+
break;
}
}
« no previous file with comments | « no previous file | chrome/browser/mac/exception_processor_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698