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..1cc4a4a2961c4f772cd6917770dfb6030428b2b3 100644 |
--- a/syzygy/agent/asan/memory_interceptors_impl.h |
+++ b/syzygy/agent/asan/memory_interceptors_impl.h |
@@ -80,9 +80,41 @@ 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. |
Sébastien Marchand
2017/06/20 22:06:14
Add a BL between each function.
njanevsk
2017/06/21 14:39:30
Done.
|
+void asan_handle_no_return() { |
+} |
+ |
#ifdef _WIN64 |
void asan_string_no_check() { |
return; |