Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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_ |
| OLD | NEW |