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

Side by Side Diff: syzygy/agent/asan/rtl_impl.h

Issue 2576003002: Add the ability to defer the initialization of the SyzyAsan crash reporter. (Closed)
Patch Set: x64 def file. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 Google Inc. All Rights Reserved. 1 // Copyright 2012 Google Inc. All Rights Reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 typedef void(WINAPI* AsanExperimentCallback)(const char* experiment_name, 106 typedef void(WINAPI* AsanExperimentCallback)(const char* experiment_name,
107 const char* experiment_group); 107 const char* experiment_group);
108 // Calls @p callback once for each experiement this runtime is performing. 108 // Calls @p callback once for each experiement this runtime is performing.
109 // @param callback a function that will be invoked recursively zero or more 109 // @param callback a function that will be invoked recursively zero or more
110 // times to enumerate the experiments and their state. 110 // times to enumerate the experiments and their state.
111 void WINAPI asan_EnumExperiments(AsanExperimentCallback callback); 111 void WINAPI asan_EnumExperiments(AsanExperimentCallback callback);
112 // @} 112 // @}
113 113
114 int asan_CrashForException(EXCEPTION_POINTERS* exception); 114 int asan_CrashForException(EXCEPTION_POINTERS* exception);
115 115
116 void WINAPI asan_InitializeCrashHandler();
117
chrisha 2017/01/11 18:57:28 More comments here please. Exactly what this does,
Sébastien Marchand 2017/01/11 21:38:08 Done.
116 } // extern "C" 118 } // extern "C"
117 119
118 #endif // SYZYGY_AGENT_ASAN_RTL_IMPL_H_ 120 #endif // SYZYGY_AGENT_ASAN_RTL_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698