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

Unified Diff: syzygy/agent/asan/rtl_impl.cc

Issue 2576003002: Add the ability to defer the initialization of the SyzyAsan crash reporter. (Closed)
Patch Set: Add an entry point to reinitialize the crash reporter. Created 4 years 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
Index: syzygy/agent/asan/rtl_impl.cc
diff --git a/syzygy/agent/asan/rtl_impl.cc b/syzygy/agent/asan/rtl_impl.cc
index 807eef9d7a0b9aa0d522a4aad4ee55c99fb68330..02043e49032e86b75c517a56fe06380e3db86fec 100644
--- a/syzygy/agent/asan/rtl_impl.cc
+++ b/syzygy/agent/asan/rtl_impl.cc
@@ -259,4 +259,8 @@ int asan_CrashForException(EXCEPTION_POINTERS* exception) {
return agent::asan::AsanRuntime::CrashForException(exception);
}
+void WINAPI asan_ReinitializeCrashHandler() {
+ asan_runtime->InitializeCrashReporter();
+}
+
} // extern "C"

Powered by Google App Engine
This is Rietveld 408576698