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

Unified Diff: syzygy/agent/asan/unittest_util.h

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/unittest_util.h
diff --git a/syzygy/agent/asan/unittest_util.h b/syzygy/agent/asan/unittest_util.h
index b123f9daf701c665d16cc114fa1d5d5009f29d18..e07e977ab56d5b9ad31f3d29d883885a61afe190 100644
--- a/syzygy/agent/asan/unittest_util.h
+++ b/syzygy/agent/asan/unittest_util.h
@@ -227,6 +227,7 @@ class TestWithAsanLogger : public OnExceptionCallbackTest {
(file_handle, buffer, bytes_to_write, bytes_written, overlapped)) \
F(_cdecl, void, SetInterceptorCallback, (void (*callback)()), (callback)) \
F(WINAPI, agent::asan::AsanRuntime*, GetActiveRuntime, (), ()) \
+ F(WINAPI, void, ReinitializeCrashHandler, (), ()) \
F(WINAPI, void, SetAllocationFilterFlag, (), ()) \
F(WINAPI, void, ClearAllocationFilterFlag, (), ())
#else
@@ -316,7 +317,8 @@ class TestWithAsanLogger : public OnExceptionCallbackTest {
LPDWORD bytes_written, LPOVERLAPPED overlapped), \
(file_handle, buffer, bytes_to_write, bytes_written, overlapped)) \
F(_cdecl, void, SetInterceptorCallback, (void (*callback)()), (callback)) \
- F(WINAPI, agent::asan::AsanRuntime*, GetActiveRuntime, (), ())
+ F(WINAPI, agent::asan::AsanRuntime*, GetActiveRuntime, (), ()) \
+ F(WINAPI, void, ReinitializeCrashHandler, (), ())
#endif
// Declare pointer types for the intercepted functions.
« syzygy/agent/asan/rtl_impl_unittest.cc ('K') | « syzygy/agent/asan/syzyasan_rtl.def.template ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698