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

Unified Diff: syzygy/agent/asan/memory_interceptors_impl.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « syzygy/agent/asan/memory_interceptors.h ('k') | syzygy/agent/asan/syzyasan_rtl.def.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/agent/asan/memory_interceptors_impl.h
diff --git a/syzygy/agent/asan/memory_interceptors_impl.h b/syzygy/agent/asan/memory_interceptors_impl.h
index cb2b1339d585d4b1a94eb1a6e4ff46da18257a30..78c9b9abd955347e57118d7a03d2f9f21577c7a7 100644
--- a/syzygy/agent/asan/memory_interceptors_impl.h
+++ b/syzygy/agent/asan/memory_interceptors_impl.h
@@ -80,9 +80,43 @@ const size_t ONE_TB = static_cast<size_t>(1) << 40;
#endif
extern "C" {
+void asan_init() {
+ return;
+}
+
+void* asan_get_shadow_memory_dynamic_address() {
+ return nullptr;
+ NOTREACHED();
+}
+
+// Currently this is a dummy function.
+// Returning zero means do not detect stack use after return.
+// TODO (njanevsk): Implement this function.
+int asan_should_detect_stack_use_after_return() {
+ return 0;
+}
+
+// Currently this is a dummy function.
+// This one always returns 0.
+// TODO (njanevsk): Implement this function.
+int asan_set_seh_filter() {
+ return 0;
+}
+
+// TODO (njanevsk): Implement this function.
+void asan_version_mismatch_check_v8() {
+ return;
+}
+
+// TODO (njanevsk): Implement this function.
void asan_clang_no_check(const void*) {
return;
}
+
+// TODO (njanevsk): Implement this function.
+void asan_handle_no_return() {
+}
+
#ifdef _WIN64
void asan_string_no_check() {
return;
« no previous file with comments | « syzygy/agent/asan/memory_interceptors.h ('k') | syzygy/agent/asan/syzyasan_rtl.def.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698