Index: syzygy/agent/asan/memory_interceptors.h |
diff --git a/syzygy/agent/asan/memory_interceptors.h b/syzygy/agent/asan/memory_interceptors.h |
index f85b59c77d2abf24d69d24c3a806e066ebe512b6..5f7a5ab642c4948d40250cffdacb4e643e7d63fa 100644 |
--- a/syzygy/agent/asan/memory_interceptors.h |
+++ b/syzygy/agent/asan/memory_interceptors.h |
@@ -140,6 +140,7 @@ void asan_string_no_check(); |
// itself will not be modified, but the pointers it points to will be. |
extern const void* asan_shadow_references[]; |
+#ifndef _WIN64 |
#define DECLARE_MEM_INTERCEPT_FUNCTIONS(access_size, access_mode_str, \ |
access_mode_value) \ |
void asan_redirect_##access_size##_byte_##access_mode_str(); \ |
@@ -154,7 +155,9 @@ extern const void* asan_shadow_references[]; |
ASAN_MEM_INTERCEPT_FUNCTIONS(DECLARE_MEM_INTERCEPT_FUNCTIONS) |
#undef DECLARE_MEM_INTERCEPT_FUNCTIONS |
+#endif |
Sébastien Marchand
2016/09/13 18:23:05
This endif and the following ifndef seem unnecessa
|
+#ifndef _WIN64 |
#define DECLARE_STRING_INTERCEPT_FUNCTIONS(func, prefix, counter, dst_mode, \ |
src_mode, access_size, compare) \ |
void asan_redirect ## prefix ## access_size ## _byte_ ## func ## _access(); \ |
@@ -165,6 +168,7 @@ ASAN_MEM_INTERCEPT_FUNCTIONS(DECLARE_MEM_INTERCEPT_FUNCTIONS) |
ASAN_STRING_INTERCEPT_FUNCTIONS(DECLARE_STRING_INTERCEPT_FUNCTIONS) |
#undef DECLARE_STRING_INTERCEPT_FUNCTIONS |
+#endif |
} // extern "C" |