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

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

Issue 2937353002: Add missing methods to make compiling and linking of 32 bit integration_tests instrumented with LLV… (Closed)
Patch Set: Add a blank line in the template file and regenerate the system_interceptors.def Created 3 years, 6 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 2014 Google Inc. All Rights Reserved. 1 // Copyright 2014 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 } // namespace asan 183 } // namespace asan
184 } // namespace agent 184 } // namespace agent
185 185
186 extern "C" { 186 extern "C" {
187 187
188 #ifndef _WIN64 188 #ifndef _WIN64
189 // The no-op memory access checker. 189 // The no-op memory access checker.
190 void asan_no_check(); 190 void asan_no_check();
191 #endif 191 #endif
192 192
193 // The following functions are added for compatibility but are not implemented
194 // yet.
195 void asan_init();
196 int asan_set_seh_filter();
197 int asan_should_detect_stack_use_after_return();
198 void asan_version_mismatch_check_v8();
199 void asan_handle_no_return();
200
193 // The Clang no-op memory access checker. 201 // The Clang no-op memory access checker.
194 void asan_clang_no_check(const void*); 202 void asan_clang_no_check(const void*);
195 203
196 // The no-op string instruction memory access checker. 204 // The no-op string instruction memory access checker.
197 void asan_string_no_check(); 205 void asan_string_no_check();
198 206
199 // The table containing the array of shadow memory references. This is made 207 // The table containing the array of shadow memory references. This is made
200 // visible so that it can be used by the memory interceptor patcher. The table 208 // visible so that it can be used by the memory interceptor patcher. The table
201 // itself will not be modified, but the pointers it points to will be. 209 // itself will not be modified, but the pointers it points to will be.
202 extern const void* asan_shadow_references[]; 210 extern const void* asan_shadow_references[];
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 #endif 252 #endif
245 253
246 // Declare all the Clang-Asan memory interceptor functions. 254 // Declare all the Clang-Asan memory interceptor functions.
247 CLANG_ASAN_MEM_INTERCEPT_FUNCTIONS(DECLARE_MEM_CLANG_INTERCEPT_FUNCTIONS) 255 CLANG_ASAN_MEM_INTERCEPT_FUNCTIONS(DECLARE_MEM_CLANG_INTERCEPT_FUNCTIONS)
248 256
249 #undef DECLARE_MEM_CLANG_INTERCEPT_FUNCTIONS 257 #undef DECLARE_MEM_CLANG_INTERCEPT_FUNCTIONS
250 258
251 } // extern "C" 259 } // extern "C"
252 260
253 #endif // SYZYGY_AGENT_ASAN_MEMORY_INTERCEPTORS_H_ 261 #endif // SYZYGY_AGENT_ASAN_MEMORY_INTERCEPTORS_H_
OLDNEW
« no previous file with comments | « syzygy/agent/asan/gen/system_interceptors_instrumentation_filter.gen ('k') | syzygy/agent/asan/memory_interceptors_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698